public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* blkdev_issue_flush really issues a WRITE_BARRIER -- is that okay?
@ 2009-10-12 17:31 Jeff Moyer
  2009-10-12 18:38 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Moyer @ 2009-10-12 17:31 UTC (permalink / raw)
  To: Linux Kernel Mailing; +Cc: Jens Axboe

Hi,

While looking though Christoph's patch to call blkdev_issue_flush for
fsync on block devices, I noticed that it only issues a WRITE_BARRIER.
I don't see how that guarantees that data is on stable storage.  Am I
missing something?  Shouldn't this translate to a FLUSH CACHE or
SYNCHRONIZE CACHE command?

My apologies if this has been discussed before.

Thanks!
Jeff

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

end of thread, other threads:[~2009-10-12 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-12 17:31 blkdev_issue_flush really issues a WRITE_BARRIER -- is that okay? Jeff Moyer
2009-10-12 18:38 ` Jeff Garzik

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