# Re: \[PATCH v5 0/5\] RAID 0/1/10 atomic write support

- From: Martin K. Petersen \<hidden\>
- Date: 2024-11-19 01:37:41 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2024/11/2829585
- Thread: https://ratatoskr.run/linux-block/2024/11/2829585/t.md

```text

John,

> This series introduces atomic write support for software RAID 0/1/10.
>
> The main changes are to ensure that we can calculate the stacked
> device request_queue limits appropriately for atomic writes.
> Fundamentally, if some bottom does not support atomic writes, then
> atomic writes are not supported for the top device. Furthermore, the
> atomic writes limits are the lowest common supported limits from all
> bottom devices.
>
> Flag BLK_FEAT_ATOMIC_WRITES_STACKED is introduced to enable atomic
> writes for stacked devices selectively. This ensures that we can
> analyze and test atomic writes support per individual md/dm
> personality (prior to enabling).

LGTM.

Reviewed-by: Martin K. Petersen <redacted>

-- 
Martin K. Petersen	Oracle Linux Engineering
```
