All of lore.kernel.org
 help / color / mirror / Atom feed
* Does fsync() block read and write ops on the same file?
@ 2009-12-10  9:22 Florian Weimer
  2009-12-11  3:55 ` Dave Chinner
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Weimer @ 2009-12-10  9:22 UTC (permalink / raw)
  To: linux-fsdevel

I've got an odd performance issue.  It seems that when fsync() is
called on a file, other processes block when they try to access it.
This is not merely due to I/O contention on the underlying block
device, it seems.

Oracle reported a similar performance issue in the Berkeley DB JE
changelog.  Is this really true?  Are there any workarounds?  (I'm
mainly interested in the situation on ext[34] and XFS.)

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2009-12-13  1:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-10  9:22 Does fsync() block read and write ops on the same file? Florian Weimer
2009-12-11  3:55 ` Dave Chinner
2009-12-11  8:53   ` Florian Weimer
2009-12-11 12:42     ` Dave Chinner
2009-12-11 12:53       ` Florian Weimer
2009-12-12 23:05         ` Dave Chinner
2009-12-11 13:21       ` Christoph Hellwig
2009-12-11 13:35         ` Florian Weimer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.