Commit 40988f15 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jens Axboe

rnbd: don't set QUEUE_FLAG_SAME_COMP

QUEUE_FLAG_SAME_COMP is already set by default.
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJack Wang <jinpu.wang@ionos.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240627124926.512662-5-hch@lst.deSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8b77f23f
...@@ -1397,7 +1397,6 @@ static int rnbd_client_setup_device(struct rnbd_clt_dev *dev, ...@@ -1397,7 +1397,6 @@ static int rnbd_client_setup_device(struct rnbd_clt_dev *dev,
dev->queue = dev->gd->queue; dev->queue = dev->gd->queue;
rnbd_init_mq_hw_queues(dev); rnbd_init_mq_hw_queues(dev);
blk_queue_flag_set(QUEUE_FLAG_SAME_COMP, dev->queue);
blk_queue_flag_set(QUEUE_FLAG_SAME_FORCE, dev->queue); blk_queue_flag_set(QUEUE_FLAG_SAME_FORCE, dev->queue);
return rnbd_clt_setup_gen_disk(dev, rsp, idx); return rnbd_clt_setup_gen_disk(dev, rsp, idx);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment