summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2002-10-27 18:01:05 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-27 18:01:05 -0800
commit54952b34e5e3c96cccf56d91eb6cbe0bb0b6d18c (patch)
treec81852f15c1c21503412304bb6fbc63b13be5d2f /scripts
parent38487531a691483d1da94d92f0c2a3b7abc72caa (diff)
[PATCH] misc scsi bits
Various small bits that make SCSI work well with REQ_BLOCK_PC. o Use ->errors as the scsi status byte for REQ_BLOCK_PC o Always call end_io completion, even if 0 sectors, as long as the status is good. Otherwise we risk hanging this device if a REQ_BLOCK_PC user command didn't specify a transfer size for a command that did. o Remove bouncing checks in scsi_merge for REQ_BLOCK_PC, bio_map_user() correctly bounces pages now. o Decrement req->data_len, it's our residual data count. o sr/sd: set right transfer and underflow size.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions