]> git.baikalelectronics.ru Git - kernel.git/commit
block: handle partial completions for special payload requests
authorChristoph Hellwig <hch@lst.de>
Thu, 11 May 2017 10:34:38 +0000 (12:34 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 11 May 2017 14:08:53 +0000 (08:08 -0600)
commited6565e734249ef021d5c13ba34c167eb4e42f62
tree22be44b37efa7933c53a1ea90808cbc8db7a6ad8
parentf36ea50ca0043e7b1204feaf1d2ba6bd68c08d36
block: handle partial completions for special payload requests

SCSI devices can return short writes on Write Same just like for normal
writes, so we need to handle this case for our special payload requests
as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Tested-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-core.c