diff options
| author | 2026-01-15 01:12:33 +0800 | |
|---|---|---|
| committer | 2026-01-26 13:11:29 +0800 | |
| commit | 9340a95d489ab5ff3c2d18c78283211b03a4265a (patch) | |
| tree | 2277b7a3d0304a673737aecd974cc900cd737972 /include/rdma/ssh:/git@git.zx2c4.com | |
| parent | md: merge mddev serialize_policy into mddev_flags (diff) | |
md/raid5: use mempool to allocate stripe_request_ctx
On the one hand, stripe_request_ctx is 72 bytes, and it's a bit huge for
a stack variable.
On the other hand, the bitmap sectors_to_do is a fixed size, result in
max_hw_sector_kb of raid5 array is at most 256 * 4k = 1Mb, and this will
make full stripe IO impossible for the array that chunk_size * data_disks
is bigger. Allocate ctx during runtime will make it possible to get rid
of this limit.
Link: https://lore.kernel.org/linux-raid/20260114171241.3043364-6-yukuai@fnnas.com
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Reviewed-by: Li Nan <linan122@huawei.com>
Diffstat (limited to 'include/rdma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
