1. 01 5月, 2007 1 次提交
  2. 17 3月, 2007 1 次提交
  3. 13 2月, 2007 1 次提交
  4. 04 2月, 2007 1 次提交
    • B
      NFS: move NFS_DEBUG definition · 4dc2eaec
      Benny Halevy 提交于
      Trond, looks like the changes to include/linux/nfs_fs.h in 2.6.18
      that moved the #include's of sunrpc header files into the #ifdef __KERNEL__ block
      disabled nfs debugging for all nfs c file not including any sunrpc header.
      
      The following patch moves the definition down, right before its use
      for defining ifdebug.
      Signed-off-by: NBenny Halevy <bhalevy@panasas.com>
      (Moved definition further down into the __KERNEL__ section: Trond)
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      4dc2eaec
  5. 25 1月, 2007 1 次提交
  6. 06 12月, 2006 6 次提交
  7. 03 12月, 2006 1 次提交
  8. 21 10月, 2006 2 次提交
  9. 01 10月, 2006 1 次提交
  10. 27 9月, 2006 1 次提交
  11. 24 9月, 2006 1 次提交
  12. 23 9月, 2006 5 次提交
  13. 13 9月, 2006 1 次提交
  14. 09 9月, 2006 1 次提交
  15. 04 8月, 2006 1 次提交
  16. 01 7月, 2006 1 次提交
  17. 29 6月, 2006 1 次提交
  18. 25 6月, 2006 1 次提交
    • A
      git-nfs-build-fixes · d75d5414
      Andrew Morton 提交于
      Fix various problems with nfs4 disabled.  And various other things.
      
      In file included from fs/nfs/inode.c:50:
      fs/nfs/internal.h:24: error: static declaration of 'nfs_do_refmount' follows non-static declaration
      include/linux/nfs_fs.h:320: error: previous declaration of 'nfs_do_refmount' was here
      fs/nfs/internal.h:65: warning: 'struct nfs4_fs_locations' declared inside parameter list
      fs/nfs/internal.h:65: warning: its scope is only this definition or declaration, which is probably not what you want
      fs/nfs/internal.h: In function 'nfs4_path':
      fs/nfs/internal.h:97: error: 'struct nfs_server' has no member named 'mnt_path'
      fs/nfs/inode.c: In function 'init_once':
      fs/nfs/inode.c:1116: error: 'struct nfs_inode' has no member named 'open_states'
      fs/nfs/inode.c:1116: error: 'struct nfs_inode' has no member named 'delegation'
      fs/nfs/inode.c:1116: error: 'struct nfs_inode' has no member named 'delegation_state'
      fs/nfs/inode.c:1116: error: 'struct nfs_inode' has no member named 'rwsem'
      distcc[26452] ERROR: compile fs/nfs/inode.c on g5/64 failed
      make[1]: *** [fs/nfs/inode.o] Error 1
      make: *** [fs/nfs/inode.o] Error 2
      make: *** Waiting for unfinished jobs....
      In file included from fs/nfs/nfs3xdr.c:26:
      fs/nfs/internal.h:24: error: static declaration of 'nfs_do_refmount' follows non-static declaration
      include/linux/nfs_fs.h:320: error: previous declaration of 'nfs_do_refmount' was here
      fs/nfs/internal.h:65: warning: 'struct nfs4_fs_locations' declared inside parameter list
      fs/nfs/internal.h:65: warning: its scope is only this definition or declaration, which is probably not what you want
      fs/nfs/internal.h: In function 'nfs4_path':
      fs/nfs/internal.h:97: error: 'struct nfs_server' has no member named 'mnt_path'
      distcc[26486] ERROR: compile fs/nfs/nfs3xdr.c on g5/64 failed
      make[1]: *** [fs/nfs/nfs3xdr.o] Error 1
      make: *** [fs/nfs/nfs3xdr.o] Error 2
      In file included from fs/nfs/nfs3proc.c:24:
      fs/nfs/internal.h:24: error: static declaration of 'nfs_do_refmount' follows non-static declaration
      include/linux/nfs_fs.h:320: error: previous declaration of 'nfs_do_refmount' was here
      fs/nfs/internal.h:65: warning: 'struct nfs4_fs_locations' declared inside parameter list
      fs/nfs/internal.h:65: warning: its scope is only this definition or declaration, which is probably not what you want
      fs/nfs/internal.h: In function 'nfs4_path':
      fs/nfs/internal.h:97: error: 'struct nfs_server' has no member named 'mnt_path'
      distcc[26469] ERROR: compile fs/nfs/nfs3proc.c on bix/32 failed
      make[1]: *** [fs/nfs/nfs3proc.o] Error 1
      make: *** [fs/nfs/nfs3proc.o] Error 2
      **FAILED**
      
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Andreas Gruenbacher <agruen@suse.de>
      Cc: Andy Adamson <andros@citi.umich.edu>
      Cc: Chuck Lever <cel@netapp.com>
      Cc: David Howells <dhowells@redhat.com>
      Cc: J. Bruce Fields <bfields@fieldses.org>
      Cc: Manoj Naik <manoj@almaden.ibm.com>
      Cc: Marc Eshel <eshel@almaden.ibm.com>
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      d75d5414
  19. 09 6月, 2006 8 次提交
  20. 25 4月, 2006 1 次提交
  21. 29 3月, 2006 1 次提交
  22. 21 3月, 2006 2 次提交
    • T
      NFS: Fix a race in nfs_sync_inode() · c42de9dd
      Trond Myklebust 提交于
      Kudos to Neil Brown for spotting the problem:
      
      "in nfs_sync_inode, there is effectively the sequence:
      
         nfs_wait_on_requests
         nfs_flush_inode
         nfs_commit_inode
      
       This seems a bit racy to me as if the only requests are on the
       ->commit list, and nfs_commit_inode is called separately after
       nfs_wait_on_requests completes, and before nfs_commit_inode start
       (say: by nfs_write_inode) then none of these function will return
       >0, yet there will be some pending request that aren't waited for."
      
      The solution is to search for requests to wait upon, search for dirty
      requests, and search for uncommitted requests while holding the
      nfsi->req_lock
      
      The patch also cleans up nfs_sync_inode(), getting rid of the redundant
      FLUSH_WAIT flag. It turns out that we were always setting it.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      c42de9dd
    • T