linux_dsm_epyc7002/include/scsi
Luben Tuikov 03aba2f795 [SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion
This patch simplifies "good_bytes" computation in sd_rw_intr().
sd: "good_bytes" computation is always done in terms of the resolution
of the device's medium, since after that it is the number of good bytes
we pass around and other layers/contexts (as opposed ot sd) can translate
that to their own resolution (block layer:512).  It also makes
scsi_io_completion() processing more straightforward, eliminating the
3rd argument to the function.

It also fixes a couple of bugs like not checking return value,
using "break" instead of "return;", etc.

I've been running with this patch for some time now on a
test (do-it-all) system.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-06-26 10:00:20 -05:00
..
iscsi_if.h [SCSI] iscsi: increment expstatsn during login 2006-05-10 10:13:21 -05:00
iscsi_proto.h [SCSI] iscsi: update version 2006-05-20 09:36:38 -05:00
libiscsi.h [SCSI] iscsi: don't switch states when just cleaning up 2006-06-05 19:10:45 -04:00
scsi_cmnd.h [SCSI] sd/scsi_lib simplify sd_rw_intr and scsi_io_completion 2006-06-26 10:00:20 -05:00
scsi_dbg.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_device.h [SCSI] add scsi_mode_select to scsi_lib.c 2006-03-19 10:19:14 -06:00
scsi_devinfo.h Merge ../scsi-rc-fixes-2.6 2006-04-14 15:47:45 -05:00
scsi_driver.h [BLOCK] update SCSI to use new blk_ordered for barriers 2006-01-06 09:52:55 +01:00
scsi_eh.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_host.h [PATCH] SCSI: implement shost->host_eh_scheduled 2006-05-15 20:57:20 +09:00
scsi_ioctl.h [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations 2006-04-13 10:13:15 -05:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_fc.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
scsi_transport_iscsi.h [SCSI] iscsi: fix writepsace race 2006-06-05 19:12:25 -04:00
scsi_transport_sas.h [SCSI] eliminate rphy allocation in favour of expander/end device allocation 2006-03-19 10:21:16 -06:00
scsi_transport_spi.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
scsi_transport.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi.h [SCSI] fix scsi process problems and clean up the target reap issues 2006-02-27 23:37:45 -06:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
srp.h [SCSI] srp.h: Add I/O Class values 2006-06-17 20:37:38 -07:00