Skip to content

Conversation

@kpd-daemon
Copy link

@kpd-daemon kpd-daemon bot commented Sep 3, 2025

Pull request for series with
subject: md/md-linear: Enable atomic writes
version: 1
url: https://patchwork.kernel.org/project/linux-raid/list/?series=998498

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.

Signed-off-by: John Garry <john.g.garry@oracle.com>
@kpd-daemon
Copy link
Author

kpd-daemon bot commented Sep 3, 2025

Upstream branch: c17fb54
series: https://patchwork.kernel.org/project/linux-raid/list/?series=998498
version: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants