An error occurred fetching the project authors.
  1. 04 Jan, 2011 1 commit
  2. 12 Oct, 2010 1 commit
    • J. Bruce Fields's avatar
      nfsd4: expire clients more promptly · ecec6e34
      J. Bruce Fields authored
      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: default avatarJ. Bruce Fields <bfields@redhat.com>
      ecec6e34
  3. 29 Jul, 2010 1 commit
    • J. Bruce Fields's avatar
      nfsd4: share file descriptors between stateid's · f9d7562f
      J. Bruce Fields authored
      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: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      f9d7562f
  4. 06 Mar, 2010 2 commits
  5. 15 Dec, 2009 2 commits
  6. 14 Dec, 2009 2 commits
    • Boaz Harrosh's avatar
      nfsd: Move private headers to source directory · 9a74af21
      Boaz Harrosh authored
      Lots of include/linux/nfsd/* headers are only used by
      nfsd module. Move them to the source directory
      Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      9a74af21
    • Boaz Harrosh's avatar
      nfsd: Headers Independence and include cleanups · 72579ac9
      Boaz Harrosh authored
      * 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: default avatarBoaz Harrosh <bharrosh@panasas.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      72579ac9
  7. 13 Nov, 2009 1 commit
  8. 23 Sep, 2009 1 commit
  9. 17 Sep, 2009 1 commit
  10. 16 Sep, 2009 1 commit
  11. 28 Jul, 2009 1 commit
  12. 14 Jul, 2009 1 commit
    • Andy Adamson's avatar
      nfsd41: use globals for DRC limits · 4bd9b0f4
      Andy Adamson authored
      The version 4.1 DRC memory limit and tracking variables are server wide and
      session specific. Replace struct svc_serv fields with globals.
      Stop using the svc_serv sv_lock.
      
      Add a spinlock to serialize access to the DRC limit management variables which
      change on session creation and deletion (usage counter) or (future)
      administrative action to adjust the total DRC memory limit.
      Signed-off-by: default avatarAndy Adamson <andros@netapp.com>
      Signed-off-by: default avatarBenny Halevy <bhalevy@panasas.com>
      4bd9b0f4
  13. 06 Apr, 2009 1 commit
  14. 04 Apr, 2009 6 commits
  15. 18 Mar, 2009 2 commits
  16. 07 Jan, 2009 1 commit
  17. 29 Sep, 2008 1 commit
    • J. Bruce Fields's avatar
      nfsd: permit unauthenticated stat of export root · 04716e66
      J. Bruce Fields authored
      RFC 2623 section 2.3.2 permits the server to bypass gss authentication
      checks for certain operations that a client may perform when mounting.
      In the case of a client that doesn't have some form of credentials
      available to it on boot, this allows it to perform the mount unattended.
      (Presumably real file access won't be needed until a user with
      credentials logs in.)
      
      Being slightly more lenient allows lots of old clients to access
      krb5-only exports, with the only loss being a small amount of
      information leaked about the root directory of the export.
      
      This affects only v2 and v3; v4 still requires authentication for all
      access.
      
      Thanks to Peter Staubach testing against a Solaris client, which
      suggesting addition of v3 getattr, to the list, and to Trond for noting
      that doing so exposes no additional information.
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      Cc: Peter Staubach <staubach@redhat.com>
      Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
      04716e66
  18. 25 Jul, 2008 1 commit
  19. 23 Jun, 2008 2 commits
  20. 25 Apr, 2008 1 commit
  21. 23 Apr, 2008 2 commits
    • Robert P. J. Day's avatar
      NFSD: Strip __KERNEL__ testing from unexported header files. · a5ae0398
      Robert P. J. Day authored
      Also, sort the Kbuild file.
      Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      a5ae0398
    • Harvey Harrison's avatar
      nfsd: fix sparse warnings · a254b246
      Harvey Harrison authored
      Add extern to nfsd/nfsd.h
      fs/nfsd/nfssvc.c:146:5: warning: symbol 'nfsd_nrthreads' was not declared. Should it be static?
      fs/nfsd/nfssvc.c:261:5: warning: symbol 'nfsd_nrpools' was not declared. Should it be static?
      fs/nfsd/nfssvc.c:269:5: warning: symbol 'nfsd_get_nrthreads' was not declared. Should it be static?
      fs/nfsd/nfssvc.c:281:5: warning: symbol 'nfsd_set_nrthreads' was not declared. Should it be static?
      fs/nfsd/export.c:1534:23: warning: symbol 'nfs_exports_op' was not declared. Should it be static?
      
      Add include of auth.h
      fs/nfsd/auth.c:27:5: warning: symbol 'nfsd_setuser' was not declared. Should it be static?
      
      Make static, move forward declaration closer to where it's needed.
      fs/nfsd/nfs4state.c:1877:1: warning: symbol 'laundromat_main' was not declared. Should it be static?
      
      Make static, forward declaration was already marked static.
      fs/nfsd/nfs4idmap.c:206:1: warning: symbol 'idtoname_parse' was not declared. Should it be static?
      fs/nfsd/vfs.c:1156:1: warning: symbol 'nfsd_create_setattr' was not declared. Should it be static?
      Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: default avatarJ. Bruce Fields <bfields@citi.umich.edu>
      a254b246
  22. 01 Feb, 2008 2 commits
  23. 09 Oct, 2007 1 commit
  24. 17 Jul, 2007 5 commits