Full-stripe write
A parity-array write supplying replacement data for every data position of a stripe so its new parity can be computed without reading the prior stripe contents.
Parity is still written. A healthy stripe with k equal-size data blocks and p parity blocks writes k+p blocks for k blocks of payload.
For writes that do not cover a stripe, the Linux MD RAID 4/5/6 driver must read old data before it can calculate new parity, and sequential writes dispatched at different times can incur the same reads. A write-back journal on an extra cache disk aggregates such data and flushes it to the members only once it forms a full-stripe write. Several hundred megabytes of cache suffice for write-through mode, while at least several gigabytes are recommended for write-back aggregation. [1]
The in-memory stripe cache also bounds aggregation. Its stripe_cache_size defaults to 256 entries, with lower and upper limits of 17 and 32768. [3]
Relations
- related
- Read-modify-write, Reconstruct-write, Parity RAID, RAID write hole, Write amplification, Striping (storage), Stripe unit, Differential RAID
Advantages
- Eliminates old-data and old-parity reads for parity computation when all replacement data is present [1]
Limitations
- Request splitting and misalignment can leave partial stripes
- Covering every data position does not by itself close the write hole, since a crash during the multi-member write can still leave data and parity mismatched [1]
- In write-back mode completion is reported once data reaches the cache disk, so a cache-disk failure can lose acknowledged writes [1]
Citations
- Linux kernel documentation: RAID 4/5/6 cache, write-through and write-back modes
- Linux kernel documentation: RAID arrays (md), sysfs stripe_cache_size and journal_mode
Further reading
Sources & caveats
- linux-cache re-read 2026-10-23 for the read-before-parity rule, write-back aggregation, cache sizing and completion points. md-admin is the md administration guide, read for stripe_cache_size and journal_mode defaults.
- The k+p block count follows a companion analysis's write-cost model, which is listed but not used in prose.
- The partial-parity-log entry links here because a partial parity log addresses the write hole without a cache disk, whereas a write-back journal aggregates data into full-stripe writes.