public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* per inode fsync optimization question
@ 2013-04-03 14:21 Dmitry Monakhov
  2013-04-03 14:50 ` Jan Kara
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Monakhov @ 2013-04-03 14:21 UTC (permalink / raw)
  To: ext4 development, Jan Kara


inode store i_sync_tid and i_datasync_tid  in order to optimize journal
flushes and wait for commits only when necessary, but
fields are declared as tid_t(not atomic_t as it done in ext3) so we
have not synchronization between readers and writers, so gcc and cpu
is allowed to perform prefetch, cache and other stuff.
Looks like a bug, right?



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

end of thread, other threads:[~2013-04-03 16:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-03 14:21 per inode fsync optimization question Dmitry Monakhov
2013-04-03 14:50 ` Jan Kara
2013-04-03 15:09   ` Dmitry Monakhov
2013-04-03 15:15     ` Jan Kara
2013-04-03 15:41       ` Dmitry Monakhov
2013-04-03 16:03         ` Jan Kara

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