Re: Semantics of racy O_DIRECT writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 10, 2025 at 6:42 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> On Thu, Jan 09, 2025 at 09:32:54AM -0800, Bart Van Assche wrote:
> > 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.
>
> Only when using an LBA size larger than each chunk, e.g. in the scenario
> mentioned by Travis if using a 4k LBA size and not a 512 byte LBA size.
>

Thanks Christoph, your reply is appreciated.

In our case any pattern that is ABxx is fine. We don't have any
expectations about the about xx part, it's fine if they have a torn
write, out of order write, total garbage etc, but we'd like ABxx to be
intact (see also my coming reply on a parallel branch).





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux