]> 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)
commitdffc271c6db0c12d63cb8d00bb11073cdb101ad6
tree22be44b37efa7933c53a1ea90808cbc8db7a6ad8
parent2fa9a477e1ff8db57871beb80100fbc157554f79
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