1
0
Fork 0
alistair23-linux/block
Tejun Heo 097b8457da [PATCH] scsi: clear garbage after CDBs on SG_IO
ATAPI devices transfer fixed number of bytes for CDBs (12 or 16).  Some
ATAPI devices choke when shorter CDB is used and the left bytes contain
garbage.  Block SG_IO cleared left bytes but SCSI SG_IO didn't.  This patch
makes SCSI SG_IO clear it and simplify CDB clearing in block SG_IO.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Mathieu Fluhr <mfluhr@nero.com>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Douglas Gilbert <dougg@torque.net>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: <stable@kernel.org>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-11-16 11:43:38 -08:00
..
Kconfig [PATCH] Only enable CONFIG_BLOCK option for embedded 2006-09-30 21:14:05 +02:00
Kconfig.iosched [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
Makefile [PATCH] BLOCK: Make it possible to disable the block layer [try #6] 2006-09-30 20:52:31 +02:00
as-iosched.c [PATCH] completions: lockdep annotate on stack completions 2006-10-01 00:39:24 -07:00
blktrace.c [PATCH] Update axboe@suse.de email address 2006-09-30 20:52:34 +02:00
cfq-iosched.c [PATCH] CFQ: request <-> request merging rr_list fixup 2006-10-31 08:12:45 -08:00
deadline-iosched.c [PATCH] Update axboe@suse.de email address 2006-09-30 20:52:34 +02:00
elevator.c [PATCH] block layer: elv_iosched_show should get elv_list_lock 2006-10-12 15:08:51 +02:00
genhd.c [PATCH] block: handle subsystem_register() init errors 2006-09-29 09:18:05 -07:00
ioctl.c [PATCH] dm: export blkdev_driver_ioctl 2006-10-03 08:04:13 -07:00
ll_rw_blk.c [PATCH] tidy "md: check bio address after mapping through partitions" 2006-11-03 12:27:55 -08:00
noop-iosched.c [PATCH] Make sure all block/io scheduler setups are node aware 2006-09-30 20:29:39 +02:00
scsi_ioctl.c [PATCH] scsi: clear garbage after CDBs on SG_IO 2006-11-16 11:43:38 -08:00