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