1. 20 Feb, 2010 1 commit
    • Ben Myers's avatar
      commit_metadata export operation replacing nfsd_sync_dir · f501912a
      Ben Myers authored
      - Add commit_metadata export_operation to allow the underlying filesystem to
      decide how to commit an inode most efficiently.
      
      - Usage of nfsd_sync_dir and write_inode_now has been replaced with the
      commit_metadata function that takes a svc_fh.
      
      - The commit_metadata function calls the commit_metadata export_op if it's
      there, or else falls back to sync_inode instead of fsync and write_inode_now
      because only metadata need be synced here.
      
      - nfsd4_sync_rec_dir now uses vfs_fsync so that commit_metadata can be static
      Signed-off-by: default avatarBen Myers <bpm@sgi.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      f501912a
  2. 08 Feb, 2010 2 commits
  3. 29 Jan, 2010 1 commit
  4. 27 Jan, 2010 1 commit
    • Chuck Lever's avatar
      NFSD: Create PF_INET6 listener in write_ports · 37498292
      Chuck Lever authored
      Try to create a PF_INET6 listener for NFSD, if IPv6 is enabled in the
      kernel.
      
      Make sure nfsd_serv's reference count is decreased if
      __write_ports_addxprt() failed to create a listener.  See
      __write_ports_addfd().
      
      Our current plan is to rely on rpc.nfsd to create appropriate IPv6
      listeners when server-side NFS/IPv6 support is desired.  Legacy
      behavior, via the write_threads or write_svc kernel APIs, will remain
      the same -- only IPv4 listeners are created.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      [bfields@citi.umich.edu: Move error-handling code to end]
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      37498292
  5. 26 Jan, 2010 4 commits
  6. 20 Jan, 2010 1 commit
  7. 14 Jan, 2010 1 commit
  8. 13 Jan, 2010 15 commits
  9. 12 Jan, 2010 14 commits