Re: [RFC] relaxed barrier semantics

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

 



On 07/29/2010 03:49 PM, Christoph Hellwig wrote:
On Thu, Jul 29, 2010 at 03:44:31PM -0400, Ric Wheeler wrote:
I confess that I am a bit fuzzy on FUA, but think that it means that any
FUA tagged IO will go down to persistent store before returning.
Exactly.

If so, then all order dependent IO would need to be issued in order and
tagged with FUA. It would not suffice to tag just the commit record as
FUA, or do I misunderstand what FUA does?
The commit record is ext3/4 specific terminalogy.  In xfs we just have
one type of log buffers, and we could tag that as FUA.  There is very
little other depenent I/O, but if that is present we need a pre-flush
for it anyway.


I assume that for ext3 it would get more complicated depending on the journal mode. In ordered or data journal mode, we would have to write the dependent non-journal data tagged with FUA, then the FUA tagged transaction and finally the FUA tagged commit block.

Not sure how FUA performs, but writing lots of small tagged writes is probably not good for performance...

Ric

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux