]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: unwind blk_end_request_all and blk_end_request_err calls
authorChristoph Hellwig <hch@lst.de>
Sun, 16 Feb 2014 14:16:13 +0000 (06:16 -0800)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:13 +0000 (17:16 -0400)
commit7d336077233dd852da07e48d983e13847a7a942d
treecf592468f080cee6793106bef06fbfb000e6abb2
parentb7314b17caaad6ceb07e81ac03ca6358e5f1f5ce
scsi: unwind blk_end_request_all and blk_end_request_err calls

Replace the calls to the various blk_end_request variants with opencode
equivalents.  Blk-mq is using a model that gives the driver control
between the bio updates and the actual completion, and making the old
code follow that same model allows us to keep the code more similar for
both paths.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Webb Scales <webbnh@hp.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Tested-by: Bart Van Assche <bvanassche@acm.org>
Tested-by: Robert Elliott <elliott@hp.com>
drivers/scsi/scsi_lib.c