Re: SPAM: Re: XFS corruption during power-blackout

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

 



Chris Wedgwood <[email protected]> writes:

> If caching is enabled I still lose data.  Linux does have a concept of
> write barriers but these are presently not implemented for XFS right
> now.

I implemented them some time ago for log writes in XFS. Not for fsync though,
although fsync usually does a log write afterwards so it should work
in practice too. fdatasync might not.

Don't know if the code hasn't bit rotted away and it also was a bit
dumb. It was definitely there at some point.

But then a lot of ATA disks and SCSI don't support barriers. Or at least
the IDE barrier tests fails on several of my machines.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux