* nfs_need_sync_write
@ 2011-08-10 10:21 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2011-08-10 10:21 UTC (permalink / raw)
To: linux-nfs
This helper returns true for the IS_SYNC or O_SYNC conditions which
are already handled in generic code using generic_write_sync, leading
to a double data writeout in both the write and splice_write path. Even
worse nfs is using vfs_fsync instead of the range variant used by the
generic code, making O_SYNC writes on NFS much heavier than they need to
be.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-10 10:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 10:21 nfs_need_sync_write Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox