mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: SPAM: Re: XFS corruption during power-blackout
       [not found]       ` <254889.27725ab660aa106eb6acc07307d71ef1fbd5b6fd366aebef9e2f611750fbcb467e46e8a4.IBX@taniwha.stupidest.org.suse.lists.linux.kernel>
@ 2005-06-29 23:11         ` Andi Kleen
  2005-06-30  4:34           ` Chris Wedgwood
  0 siblings, 1 reply; 2+ messages in thread
From: Andi Kleen @ 2005-06-29 23:11 UTC (permalink / raw)
  To: Chris Wedgwood
  Cc: Al Boldi, 'Nathan Scott',
	linux-xfs, linux-kernel, linux-fsdevel, reiserfs-list

Chris Wedgwood <cw@f00f.org> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: SPAM: Re: XFS corruption during power-blackout
  2005-06-29 23:11         ` SPAM: Re: XFS corruption during power-blackout Andi Kleen
@ 2005-06-30  4:34           ` Chris Wedgwood
  0 siblings, 0 replies; 2+ messages in thread
From: Chris Wedgwood @ 2005-06-30  4:34 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Al Boldi, 'Nathan Scott',
	linux-xfs, linux-kernel, linux-fsdevel, reiserfs-list

On Thu, Jun 30, 2005 at 01:11:03AM +0200, Andi Kleen wrote:

> 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.

It did rot away sadly but someone (speak up!) was working on a newer
version of this I just don't know how much time they've had to work on
this recently.

> 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.

IDE has no barriers.  I thought the kernel was aware of this and
flushed when in those cases?  Does that not work?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-30  4:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20050629001847.GB850@frodo.suse.lists.linux.kernel>
     [not found] ` <200506290453.HAA14576@raad.intranet.suse.lists.linux.kernel>
     [not found]   ` <556815.441dd7d1ebc32b4a80e049e0ddca5d18e872c6e8a722b2aefa7525e9504533049d801014.ANY@taniwha.stupidest.org.suse.lists.linux.kernel>
     [not found]     ` <42C2E0BC.8040508@xfs.org.suse.lists.linux.kernel>
     [not found]       ` <254889.27725ab660aa106eb6acc07307d71ef1fbd5b6fd366aebef9e2f611750fbcb467e46e8a4.IBX@taniwha.stupidest.org.suse.lists.linux.kernel>
2005-06-29 23:11         ` SPAM: Re: XFS corruption during power-blackout Andi Kleen
2005-06-30  4:34           ` Chris Wedgwood

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®