On 1/9/25 7:01 AM, Travis Downs wrote:
Do we have a guarantee that the unmodified bytes will be successfully written?
That seems likely to me.
Can this cause some corruption/inconsistency in the FS or block layer?
As Ted already mentioned, if there is any driver in the storage stack that requires stable writes (e.g. a RAID 5 driver) or that assumes that data in flight is not being modified (e.g. a RAID 1 driver), you will be in trouble. Additionally, since typical storage controllers use DMA to transfer data, and since DMA may happen out of order, another pattern than AB00 or ABCD could end up on the storage device, e.g. AB0D. Bart.