1. 09 5月, 2014 1 次提交
  2. 07 5月, 2014 4 次提交
  3. 28 3月, 2014 1 次提交
  4. 13 7月, 2013 1 次提交
    • J
      nfsd4: fix minorversion support interface · 35f7a14f
      J. Bruce Fields 提交于
      You can turn on or off support for minorversions using e.g.
      
      	echo "-4.2" >/proc/fs/nfsd/versions
      
      However, the current implementation is a little wonky.  For example, the
      above will turn off 4.2 support, but it will also turn *on* 4.1 support.
      
      This didn't matter as long as we only had 2 minorversions, which was
      true till very recently.
      
      And do a little cleanup here.
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      35f7a14f
  5. 15 5月, 2013 1 次提交
  6. 13 5月, 2013 2 次提交
  7. 24 2月, 2013 1 次提交
  8. 11 12月, 2012 5 次提交
  9. 28 11月, 2012 3 次提交
  10. 22 8月, 2012 1 次提交
  11. 21 8月, 2012 1 次提交
  12. 25 7月, 2012 2 次提交
  13. 11 7月, 2012 1 次提交
  14. 29 3月, 2012 1 次提交
  15. 08 11月, 2011 2 次提交
  16. 14 9月, 2011 1 次提交
  17. 27 8月, 2011 1 次提交
  18. 05 1月, 2011 1 次提交
  19. 12 10月, 2010 1 次提交
    • J
      nfsd4: expire clients more promptly · ecec6e34
      J. Bruce Fields 提交于
      Expire clients more promptly, at the expense of possibly running the
      laundromat thread more frequently.
      
      Though it's not the default, I'd like it to be feasible to run with a
      lease time of just a few seconds, at which point a minimum 10 second
      wait between laundromat runs seems a little much.
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      ecec6e34
  20. 30 7月, 2010 1 次提交
    • J
      nfsd4: share file descriptors between stateid's · f9d7562f
      J. Bruce Fields 提交于
      The vfs doesn't really allow us to "upgrade" a file descriptor from
      read-only to read-write, and our attempt to do so in nfs4_upgrade_open
      is ugly and incomplete.
      
      Move to a different scheme where we keep multiple opens, shared between
      open stateid's, in the nfs4_file struct.  Each file will be opened at
      most 3 times (for read, write, and read-write), and those opens will be
      shared between all clients and openers.  On upgrade we will do another
      open if necessary instead of attempting to upgrade an existing open.
      We keep count of the number of readers and writers so we know when to
      close the shared files.
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      f9d7562f
  21. 07 3月, 2010 2 次提交
  22. 16 12月, 2009 2 次提交
  23. 15 12月, 2009 2 次提交
    • B
      nfsd: Move private headers to source directory · 9a74af21
      Boaz Harrosh 提交于
      Lots of include/linux/nfsd/* headers are only used by
      nfsd module. Move them to the source directory
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      9a74af21
    • B
      nfsd: Headers Independence and include cleanups · 72579ac9
      Boaz Harrosh 提交于
      * Add includes that are directly used by headers
      * Remove includes that are not needed
      
      These are the changes made:
      
      [xdr.h]
      struct nfsd_readdirres has an embedded struct readdir_cd from nfsd.h
      fixing that we can drop other includes
      
      [xdr4.h]
      embedded types defined both at state.h and nfsd.h
      
      [syscall.h]
      After export.h fix none of these stuff is needed.
      fix extra space in # include <> statement
      
      [stats.h]
      does not need <linux/nfs4.h> but was export to user-mode
      so I don't touch it
      
      [state.h]
      embedded types from nfsfh.h like struct knfsd_fh. bringing that
      eliminates the need for all other includes
      
      [nfsfh.h]
      directly manipulating types from sunrpc/svc.h.
      Removed Other unused headers.
      
      [nfsd.h]
      removed unused headers include
      
      [export.h]
      lots of sunrpc/svc.h types and a single prototype declaration
      with pointer from nfsfh.h, but all users of export.h do need
      nfsfh.h any way. remove now un-needed include.
      
      [const.h]
      Unfixed (not independent)
      
      [cache.h]
      could do with a forward declaration of "struct svc_rqst;"
      from sunrpc/svc.h but all users absolutely will need
      sunrpc/svc.h it is easier overall this way.
      Signed-off-by: NBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
      72579ac9
  24. 14 11月, 2009 1 次提交
  25. 23 9月, 2009 1 次提交