Peter Oberparleiter
5cb9b40d61
scsi_sysfs: Fix queue_ramp_up_period return code
...
Writing a number to /sys/bus/scsi/devices/<sdev>/queue_ramp_up_period
returns the value of that number instead of the number of bytes written.
This behavior can confuse programs expecting POSIX write() semantics.
Fix this by returning the number of bytes written instead.
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-11-09 17:40:22 -08:00
..
aacraid
aacraid: Update driver version
2015-11-09 16:12:56 -08:00
aic7xxx
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
aic94xx
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
arcmsr
libnvdimm for 4.3:
2015-09-08 14:35:59 -07:00
arm
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
be2iscsi
be2iscsi: Bump the driver version
2015-11-09 15:51:05 -08:00
bfa
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
bnx2fc
bnx2fc: Update version number to 2.9.6.
2015-11-09 17:32:34 -08:00
bnx2i
bnx2i: Fix call trace while device reset
2015-06-02 17:15:24 -07:00
csiostor
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
cxgbi
libcxgbi: use kvfree() in cxgbi_free_big_mem()
2015-06-30 19:45:00 -07:00
cxlflash
cxlflash: Fix to avoid bypassing context cleanup
2015-10-30 17:25:34 +09:00
device_handler
scsi_dh: kill struct scsi_dh_data
2015-08-28 13:14:57 -07:00
dpt
esas2r
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
fcoe
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
fnic
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
ibmvscsi
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
isci
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
libfc
libfc: Use the correct function name in kernel-doc comment.
2015-11-09 17:15:52 -08:00
libsas
Merge branch 'for-4.0-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata
2015-03-24 17:08:29 -07:00
lpfc
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
megaraid
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
mpt2sas
mpt2sas: setpci reset kernel oops fix
2015-09-06 11:57:25 -07:00
mpt3sas
mpt3sas : Bump mpt3sas driver version to 9.100.00.00
2015-08-27 11:08:31 -07:00
mvsas
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
osd
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2015-04-14 09:50:27 -07:00
pcmcia
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
pm8001
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
qla2xxx
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
qla4xxx
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
snic
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
sym53c8xx_2
scsi: drop reason argument from ->change_queue_depth
2014-11-24 14:45:27 +01:00
ufs
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
.gitignore
3w-9xxx.c
3w-9xxx: don't unmap bounce buffered commands
2015-10-07 10:24:48 -07:00
3w-9xxx.h
3w-9xxx: fix command completion race
2015-04-27 10:10:19 -07:00
3w-sas.c
3w-sas: fix command completion race
2015-04-27 10:04:39 -07:00
3w-sas.h
3w-sas: fix command completion race
2015-04-27 10:04:39 -07:00
3w-xxxx.c
3w-xxxx: fix command completion race
2015-04-27 10:05:55 -07:00
3w-xxxx.h
3w-xxxx: fix command completion race
2015-04-27 10:05:55 -07:00
53c700.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
53c700.h
53c700.scr
53c700_d.h_shipped
a100u2w.c
scsi: a100u2w: trivial typo in printk
2015-08-07 15:03:42 +02:00
a100u2w.h
a2091.c
a2091.h
a3000.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
a3000.h
a4000t.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
advansys.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
aha152x.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
aha152x.h
aha1542.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
aha1542.h
aha1542: fix include guard and remove useless changelog
2015-04-09 18:08:31 -07:00
aha1740.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
aha1740.h
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
am53c974.c
am53c974: Fix crash during modprobe
2015-04-17 10:13:56 -07:00
atari_NCR5380.c
ncr5380: Harmonize jiffies conversion with msecs_to_jiffies
2015-03-09 10:45:26 -04:00
atari_scsi.c
ncr5380: Drop owner assignment from platform_drivers
2015-03-09 07:18:14 -04:00
atp870u.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
atp870u.h
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
BusLogic.c
scsi: replace seq_printf with seq_puts
2015-02-02 09:57:45 -08:00
BusLogic.h
bvme6000_scsi.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
ch.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2015-04-14 09:50:27 -07:00
constants.c
scsi: Conditionally compile in constants.c
2015-01-09 15:44:31 +01:00
dc395x.c
scsi: print single-character strings with seq_putc
2015-02-02 09:57:46 -08:00
dc395x.h
dmx3191d.c
dmx3191d: Use NO_IRQ
2014-11-20 09:11:11 +01:00
dpt_i2o.c
x86/vm86: Clean up vm86.h includes
2015-07-31 13:31:10 +02:00
dpti.h
dtc.c
ncr5380: Drop legacy scsi.h include
2014-11-20 09:11:10 +01:00
dtc.h
ncr5380: Remove *_RELEASE macros
2014-11-20 09:11:10 +01:00
eata.c
scsi: drop reason argument from ->change_queue_depth
2014-11-24 14:45:27 +01:00
eata_generic.h
eata_pio.c
scsi: replace seq_printf with seq_puts
2015-02-02 09:57:45 -08:00
eata_pio.h
esp_scsi.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
esp_scsi.h
esp_scsi: correctly detect am53c974
2014-11-24 16:13:16 +01:00
fdomain.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
fdomain.h
FlashPoint.c
FlashPoint: fix build warning
2015-11-09 16:32:14 -08:00
g_NCR5380.c
ncr5380: Harmonize jiffies conversion with msecs_to_jiffies
2015-03-09 10:45:26 -04:00
g_NCR5380.h
ncr5380: Remove *_RELEASE macros
2014-11-20 09:11:10 +01:00
g_NCR5380_mmio.c
gdth.c
scsi: rename SERVICE_ACTION_IN to SERVICE_ACTION_IN_16
2014-11-24 20:01:40 +01:00
gdth.h
gdth_ioctl.h
gdth_proc.c
scsi: replace seq_printf with seq_puts
2015-02-02 09:57:45 -08:00
gdth_proc.h
gvp11.c
gvp11.h
hosts.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
hpsa.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
hpsa.h
Change how controllers in mixed mode are handled.
2015-08-26 16:28:15 -07:00
hpsa_cmd.h
hpsa: add in new offline mode
2015-08-26 16:28:48 -07:00
hptiop.c
hptiop: Support HighPoint RR36xx HBAs and Support SAS tape and SAS media changer
2015-08-12 13:14:57 -07:00
hptiop.h
hptiop: Support HighPoint RR36xx HBAs and Support SAS tape and SAS media changer
2015-08-12 13:14:57 -07:00
imm.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
imm.h
in2000.c
scsi: print single-character strings with seq_putc
2015-02-02 09:57:46 -08:00
in2000.h
initio.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
initio.h
ipr.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
ipr.h
ipr: Driver version 2.6.2
2015-07-30 12:41:47 -07:00
ips.c
ips: remove pointless #warning
2015-06-02 17:24:54 -07:00
ips.h
iscsi_boot_sysfs.c
iscsi_tcp.c
scsi: drop reason argument from ->change_queue_depth
2014-11-24 14:45:27 +01:00
iscsi_tcp.h
jazz_esp.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
Kconfig
cxlflash: Base support for IBM CXL Flash Adapter
2015-07-30 21:02:01 -07:00
lasi700.c
libiscsi.c
libiscsi: Fix iscsi_check_transport_timeouts possible infinite loop
2015-09-17 07:25:02 -07:00
libiscsi_tcp.c
mac53c94.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
mac53c94.h
mac_esp.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
mac_scsi.c
ncr5380: Drop owner assignment from platform_drivers
2015-03-09 07:18:14 -04:00
Makefile
scsi_dh: integrate into the core SCSI code
2015-08-28 13:14:56 -07:00
megaraid.c
megaraid : use dev_printk when possible
2015-08-26 07:23:04 -07:00
megaraid.h
mesh.c
powerpc: Move Power Macintosh drivers to generic byteswappers
2015-03-23 14:29:40 +11:00
mesh.h
mvme16x_scsi.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
mvme147.c
mvme147.h
mvumi.c
PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use
2014-08-12 12:15:14 -06:00
mvumi.h
ncr53c8xx.c
scsi: drop reason argument from ->change_queue_depth
2014-11-24 14:45:27 +01:00
ncr53c8xx.h
NCR53c406a.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
NCR5380.c
ncr5380: Harmonize jiffies conversion with msecs_to_jiffies
2015-03-09 10:45:26 -04:00
NCR5380.h
atari_NCR5380: Move static co-routine variables to host data
2014-11-20 09:11:20 +01:00
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
nsp32.h
nsp32_debug.c
nsp32_io.h
osst.c
scsi: remove scsi_driver owner field
2014-11-24 20:01:28 +01:00
osst.h
osst_detect.h
osst_options.h
pas16.c
ncr5380: Drop legacy scsi.h include
2014-11-20 09:11:10 +01:00
pas16.h
ncr5380: Remove *_RELEASE macros
2014-11-20 09:11:10 +01:00
pmcraid.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
pmcraid.h
ppa.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
ppa.h
ps3rom.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
qla1280.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
qla1280.h
qlogicfas.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
qlogicfas408.c
qlogicfas408.h
qlogicpti.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
qlogicpti.h
raid_class.c
script_asm.pl
scsi.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
scsi.h
scsi_common.c
scsi: Protect against buffer possible overflow in scsi_set_sense_information
2015-07-23 22:53:05 -07:00
scsi_debug.c
scsi_debug: resp_request: remove unused variable
2015-09-06 11:03:14 -07:00
scsi_devinfo.c
SCSI: fix bug in scsi_dev_info_list matching
2015-10-27 11:09:41 +09:00
scsi_dh.c
scsi_dh: Use the correct module name when loading device handler
2015-10-01 10:46:28 -07:00
scsi_error.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending
2015-09-11 19:00:42 -07:00
scsi_ioctl.c
scsi: return EAGAIN when resetting a device under EH
2014-11-12 11:16:12 +01:00
scsi_lib.c
scsi_dh: kill struct scsi_dh_data
2015-08-28 13:14:57 -07:00
scsi_lib_dma.c
scsi_logging.c
scsi_logging: return void for dev_printk() functions
2015-02-04 08:00:24 -08:00
scsi_logging.h
scsi: simplify scsi_log_(send|completion)
2014-11-12 11:16:05 +01:00
scsi_module.c
scsi_netlink.c
scsi_pm.c
SCSI: Fix NULL pointer dereference in runtime PM
2015-08-18 08:14:14 -07:00
scsi_priv.h
scsi_dh: integrate into the core SCSI code
2015-08-28 13:14:56 -07:00
scsi_proc.c
scsi: print single-character strings with seq_putc
2015-02-02 09:57:46 -08:00
scsi_sas_internal.h
scsi_scan.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
scsi_sysctl.c
scsi_sysfs.c
scsi_sysfs: Fix queue_ramp_up_period return code
2015-11-09 17:40:22 -08:00
scsi_trace.c
scsi: print single-character strings with seq_putc
2015-02-02 09:57:46 -08:00
scsi_transport_api.h
scsi_transport_fc.c
scsi_transport_fc: Add support for 25Gbit speed
2015-04-10 07:40:32 -07:00
scsi_transport_iscsi.c
SCSI misc on 20150901
2015-09-02 12:22:54 -07:00
scsi_transport_sas.c
scsi_transport_sas: Remove check for SAS expander when querying bay/enclosure IDs.
2015-09-06 11:13:41 -07:00
scsi_transport_spi.c
[SCSI] Fix printk typos in drivers/scsi
2015-08-07 14:28:45 +02:00
scsi_transport_srp.c
IB/srp: Avoid using uninitialized variable
2015-07-14 13:20:09 -04:00
scsi_typedefs.h
scsicam.c
scsi: PC partition tables are little endian
2014-11-12 11:15:54 +01:00
sd.c
Merge branch 'for-4.3/core' of git://git.kernel.dk/linux-block
2015-09-02 13:10:25 -07:00
sd.h
scsi: introduce sdev_prefix_printk()
2014-11-12 11:15:57 +01:00
sd_dif.c
sd: Fix missing ATO tag check
2015-04-16 10:37:12 -07:00
ses.c
ses: Add power_status to SES device slot
2015-01-09 15:44:19 +01:00
sg.c
sg_start_req(): use import_iovec()
2015-04-11 22:27:14 -04:00
sgiwd93.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
sim710.c
sni_53c710.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
sr.c
scsi: remove scsi_driver owner field
2014-11-24 20:01:28 +01:00
sr.h
scsi: introduce sdev_prefix_printk()
2014-11-12 11:15:57 +01:00
sr_ioctl.c
sr: reduce debug noise in sr_do_ioctl
2015-01-20 19:43:24 +01:00
sr_vendor.c
st.c
st: allow debug output to be enabled or disabled via sysfs
2015-11-09 17:17:27 -08:00
st.h
st: implement tape statistics
2015-06-02 08:03:25 -07:00
st_options.h
stex.c
scsi: use host wide tags by default
2015-11-09 17:11:57 -08:00
storvsc_drv.c
scsi: storvsc: Fix a bug in the handling of SRB status flags
2015-11-09 16:29:42 -08:00
sun3_scsi.c
ncr5380: Drop owner assignment from platform_drivers
2015-03-09 07:18:14 -04:00
sun3_scsi.h
sun3_scsi: Move macro definitions
2014-11-20 09:11:15 +01:00
sun3_scsi_vme.c
sun3x_esp.c
arch, drivers: don't include <asm/io.h> directly, use <linux/io.h> instead
2015-08-10 23:07:05 -04:00
sun_esp.c
scsi: drop owner assignment from platform_drivers
2014-10-20 16:21:33 +02:00
sym53c416.c
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
sym53c416.h
t128.c
ncr5380: Drop legacy scsi.h include
2014-11-20 09:11:10 +01:00
t128.h
ncr5380: Remove *_RELEASE macros
2014-11-20 09:11:10 +01:00
u14-34f.c
scsi: drop reason argument from ->change_queue_depth
2014-11-24 14:45:27 +01:00
ultrastor.c
ultrastor.h
virtio_scsi.c
virtio/vhost: fixes for 4.2
2015-07-23 13:07:04 -07:00
vmw_pvscsi.c
vmw_pscsi: simplify ->change_queue_depth
2014-11-24 14:45:28 +01:00
vmw_pvscsi.h
PCI: Move PCI_VENDOR_ID_VMWARE to pci_ids.h
2014-09-24 11:52:09 -06:00
wd33c93.c
scsi: print single-character strings with seq_putc
2015-02-02 09:57:46 -08:00
wd33c93.h
wd719x.c
[SCSI] Fix printk typos in drivers/scsi
2015-08-07 14:28:45 +02:00
wd719x.h
scsi: Do not set cmd_per_lun to 1 in the host template
2015-05-31 18:06:28 -07:00
wd7000.c
scsi: replace seq_printf with seq_puts
2015-02-02 09:57:45 -08:00
xen-scsifront.c
xen: Use correctly the Xen memory terminologies
2015-09-08 18:03:49 +01:00
zalon.c
zorro7xx.c