loop: zero-fill bio on the submitting cpu
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Apr 2017 14:03:02 +0000 (16:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 14:20:23 +0000 (08:20 -0600)
commitb152c7a6718233da5a2ba7dc5df3515119b6d834
tree1a35c1a3828149ffdc75015fb465b8851d890e5b
parent818429dcc87899136c569db95132920bd2eac62e
loop: zero-fill bio on the submitting cpu

In thruth I've just audited which blk-mq drivers don't currently have a
complete callback, but I think this change is at least borderline useful.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/loop.c
drivers/block/loop.h