Cc: Trond Myklebust <trond.myklebust@...>, Christoph Hellwig <hch@...>, Brad Boyer <flar@...>, Anton Altaparmakov <aia21@...>, Andreas Dilger <adilger@...>, Gary Grider <ggrider@...>, <linux-fsdevel@...>
Are you referring to the work the server must do to gather stat
information for each inode?
Why can't the client send the over the wire READDIRPLUS without flushing
inode data, and then simply ignore the stat portion of the server's
response in instances where it's locally cached (and dirty) inode data is
newer than the server's?
If the application calls readdirplus() only when it would otherwise do
readdir()+stat(), the flushing you mention would happen anyway (from the
stat()). Wouldn't this at least allow that to happen in parallel for the
whole directory?
sage
-
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