diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-06-20 06:54:53 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-06-20 06:55:20 -0600 |
commit | e821bcecdf82c7293322df15d8172ff274f84ef4 (patch) | |
tree | d77821a541205f2e600da887cac72db191c7b005 /drivers/md/raid5.c | |
parent | 5ddb88f22eb97218d9295e69c39e0ff7cc64e09c (diff) | |
parent | 7d4dec525f5fd555037486af4d02dd3682655ba1 (diff) | |
download | linux-e821bcecdf82c7293322df15d8172ff274f84ef4.tar.gz linux-e821bcecdf82c7293322df15d8172ff274f84ef4.tar.bz2 linux-e821bcecdf82c7293322df15d8172ff274f84ef4.zip |
Merge branch 'for-6.11/block-limits' into for-6.11/block
Merge in queue limits cleanups.
* for-6.11/block-limits:
block: move the raid_partial_stripes_expensive flag into the features field
block: remove the discard_alignment flag
block: move the misaligned flag into the features field
block: renumber and rename the cache disabled flag
block: fix spelling and grammar for in writeback_cache_control.rst
block: remove the unused blk_bounce enum
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 2668f9a962e9..0192a6323f09 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -7711,7 +7711,7 @@ static int raid5_set_limits(struct mddev *mddev) blk_set_stacking_limits(&lim); lim.io_min = mddev->chunk_sectors << 9; lim.io_opt = lim.io_min * (conf->raid_disks - conf->max_degraded); - lim.raid_partial_stripes_expensive = 1; + lim.features |= BLK_FEAT_RAID_PARTIAL_STRIPES_EXPENSIVE; lim.discard_granularity = stripe; lim.max_write_zeroes_sectors = 0; mddev_stack_rdev_limits(mddev, &lim, 0); |