commit | 7809167da5c86fd6bf309b33dee7a797e263342f | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Wed Jan 16 19:08:15 2019 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Jan 16 07:28:10 2019 -0700 |
tree | 0bd8e12a83eec11bc783779f7f0409fbd0556cb1 | |
parent | 04906b2f542c23626b0ef6219b808406f8dddbe9 [diff] |
block: don't lose track of REQ_INTEGRITY flag We need to pass bio->bi_opf after bio intergrity preparing, otherwise the flag of REQ_INTEGRITY may not be set on the allocated request, then breaks block integrity. Fixes: f9afca4d367b ("blk-mq: pass in request/bio flags to queue mapping") Cc: Hannes Reinecke <hare@suse.com> Cc: Keith Busch <keith.busch@intel.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>