summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-06-26 16:26:22 +0200
committerJens Axboe <axboe@kernel.dk>2024-06-26 09:37:35 -0600
commit573d5abf3df00c879fbd25774e4cf3e22c9cabd0 (patch)
tree16751d6f8327af910198b633233883b584674ac5 /block
parentcf546dd289e0f6d2594c25e2fb4e19ee67c6d988 (diff)
downloadlwn-573d5abf3df00c879fbd25774e4cf3e22c9cabd0.tar.gz
lwn-573d5abf3df00c879fbd25774e4cf3e22c9cabd0.zip
md: set md-specific flags for all queue limits
The md driver wants to enforce a number of flags for all devices, even when not inheriting them from the underlying devices. To make sure these flags survive the queue_limits_set calls that md uses to update the queue limits without deriving them form the previous limits add a new md_init_stacking_limits helper that calls blk_set_stacking_limits and sets these flags. Fixes: 1122c0c1cc71 ("block: move cache control settings out of queue->flags") Reported-by: kernel test robot <oliver.sang@intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20240626142637.300624-2-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions