]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitf6d47e74fcb2814225e429c94355ad1c551daffb
treecf592468f080cee6793106bef06fbfb000e6abb2
parent2ccbb00808465338b57c39f38c0b1e7ce69e2bb1
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