diff options
| author | John Garry <john.g.garry@oracle.com> | 2025-09-03 19:10:52 +0300 |
|---|---|---|
| committer | Yu Kuai <yukuai@fnnas.com> | 2025-11-08 11:55:19 +0300 |
| commit | 7fc8f632e68cd4db3bfee11ff7aa2ac731c5147a (patch) | |
| tree | 60e3dcbe23c53b6c49af03abdc7201f80088dbcc /scripts/stackusage | |
| parent | 082d680faf262cd52b51ca0b8dcbc7a9f311c220 (diff) | |
| download | linux-7fc8f632e68cd4db3bfee11ff7aa2ac731c5147a.tar.xz | |
md/md-linear: Enable atomic writes
All the infrastructure has already been plumbed to support this for
stacked devices, so just enable the request_queue limits features flag.
A note about chunk sectors for linear arrays:
While it is possible to set a chunk sectors param for building a linear
array, this is for specifying the granularity at which data sectors from
the device are used. It is not the same as a stripe size, like for RAID0.
As such, it is not appropriate to set chunk_sectors request queue limit to
the same value, as chunk_sectors request limit is a boundary for which
requests cannot straddle.
However, request_queue limit max_hw_sectors is set to chunk sectors, which
almost has the same effect as setting chunk_sectors limit.
Link: https://lore.kernel.org/linux-raid/20250903161052.3326176-1-john.g.garry@oracle.com
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Yu Kuai <yukuai3@fnnas.com>
Signed-off-by: Yu Kuai <yukuai@fnnas.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
