public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/2] nfsd sync export_op (was 'wsync export option')
@ 2010-02-10  0:33 Ben Myers
  2010-02-10  0:33 ` [RFC PATCH 1/2] commit_metadata export operation and nfsd_sync2 Ben Myers
  2010-02-10  0:33 ` [RFC PATCH 2/2] xfs_export_operations.commit_metadata Ben Myers
  0 siblings, 2 replies; 11+ messages in thread
From: Ben Myers @ 2010-02-10  0:33 UTC (permalink / raw)
  To: linux-nfs

This is another try based upon Christoph and Trond's suggestions in the 'wsync
export option' thread.  I've added the export operation and combined
nfsd_sync_dir and write_inode_now usage into nfsd_sync2 which passes the buck
onto XFS.  It's been very lightly tested.  It's just a little bit faster than
the previous try:

# time tar -xvf /mnt2/quilt-0.47.tar > /dev/null

plain jane:
0m13.177s       0m13.301s       0m13.528s

previous try:
0m8.361s        0m8.400s        0m8.301s

w/ xfs commit_metadata op:
0m7.426s        0m7.340s        0m7.198s

Thanks!
-Ben

---

Ben Myers (2):
      commit_metadata export operation and nfsd_sync2
      xfs_export_operations.commit_metadata


 fs/nfsd/nfs3proc.c            |    2 -
 fs/nfsd/nfs4proc.c            |    2 -
 fs/nfsd/nfs4recover.c         |    2 -
 fs/nfsd/nfs4state.c           |    2 -
 fs/nfsd/nfsproc.c             |    4 +
 fs/nfsd/vfs.c                 |  113 ++++++++++++++++++++++++++---------------
 fs/nfsd/vfs.h                 |    4 +
 fs/xfs/linux-2.6/xfs_export.c |   64 +++++++++++++++++++++++
 include/linux/exportfs.h      |    6 ++
 9 files changed, 151 insertions(+), 48 deletions(-)

-- 

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

end of thread, other threads:[~2010-02-10 21:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10  0:33 [RFC PATCH 0/2] nfsd sync export_op (was 'wsync export option') Ben Myers
2010-02-10  0:33 ` [RFC PATCH 1/2] commit_metadata export operation and nfsd_sync2 Ben Myers
2010-02-10  8:56   ` Christoph Hellwig
2010-02-10 19:53     ` bpm
2010-02-10 21:56       ` Christoph Hellwig
2010-02-10  0:33 ` [RFC PATCH 2/2] xfs_export_operations.commit_metadata Ben Myers
2010-02-10  9:07   ` Christoph Hellwig
2010-02-10 10:11     ` Christoph Hellwig
2010-02-10 20:15     ` bpm
2010-02-10 21:29       ` Dave Chinner
2010-02-10 21:57       ` Christoph Hellwig

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