]> 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)
commit7cdfc7a1aef3dbbc1a87e7599dbb17537e9a30e9
tree22be44b37efa7933c53a1ea90808cbc8db7a6ad8
parent295a8317eff867d95f1f1e194277307e79b839ff
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