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 18:16:10 +0000 (12:16 -0600)
commitfe2cb2905c3dc872158e7ce30df05d72c3989645
tree1d0c3f8c842cc2a3221424a57719dac0fabc809d
parent17d5363b83f8c73ef9109f75a4a9b578f31d842f
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