diff options
author | Christoph Hellwig <[email protected]> | 2024-06-26 16:26:22 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2024-06-26 09:37:35 -0600 |
commit | 573d5abf3df00c879fbd25774e4cf3e22c9cabd0 (patch) | |
tree | 16751d6f8327af910198b633233883b584674ac5 /lib/netdev-notifier-error-inject.c | |
parent | cf546dd289e0f6d2594c25e2fb4e19ee67c6d988 (diff) |
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 <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions