aboutsummaryrefslogtreecommitdiffstats
path: root/block/opal_proto.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-01-14 10:40:45 -0700
committerJens Axboe <axboe@kernel.dk>2018-01-14 10:46:24 -0700
commitbf9ae8c5325c0070d0ec81a849bba8d156f65993 (patch)
tree5fecfb6b1937bff7f721b9f8947cda6f64d25521 /block/opal_proto.h
parentblk-mq: add missing RQF_STARTED to debugfs (diff)
downloadlinux-dev-bf9ae8c5325c0070d0ec81a849bba8d156f65993.tar.xz
linux-dev-bf9ae8c5325c0070d0ec81a849bba8d156f65993.zip
blk-mq: fix bad clear of RQF_MQ_INFLIGHT in blk_mq_ct_ctx_init()
A previous commit moved the clearing of rq->rq_flags later, but we may have already set RQF_MQ_INFLIGHT when that happens. Ensure that we correctly initialize rq->rq_flags to the right value. This is based on an original fix by Ming, just rewritten to not require a conditional. Fixes: 7c3fb70f0341 ("block: rearrange a few request fields for better cache layout") Reviewed-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/opal_proto.h')
0 files changed, 0 insertions, 0 deletions