1. 10 2月, 2015 1 次提交
  2. 10 12月, 2014 1 次提交
  3. 02 8月, 2014 1 次提交
  4. 09 7月, 2014 1 次提交
    • J
      nfsd: add a new /proc/fs/nfsd/max_connections file · 5b8db00b
      Jeff Layton 提交于
      Currently, the maximum number of connections that nfsd will allow
      is based on the number of threads spawned. While this is fine for a
      default, there really isn't a clear relationship between the two.
      
      The number of threads corresponds to the number of concurrent requests
      that we want to allow the server to process at any given time. The
      connection limit corresponds to the maximum number of clients that we
      want to allow the server to handle. These are two entirely different
      quantities.
      
      Break the dependency on increasing threads in order to allow for more
      connections, by adding a new per-net parameter that can be set to a
      non-zero value. The default is still to base it on the number of threads,
      so there should be no behavior change for anyone who doesn't use it.
      
      Cc: Trond Myklebust <trond.myklebust@primarydata.com>
      Signed-off-by: NJeff Layton <jlayton@primarydata.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      5b8db00b
  5. 23 6月, 2014 1 次提交
  6. 23 5月, 2014 1 次提交
    • N
      nfsd: Only set PF_LESS_THROTTLE when really needed. · 8658452e
      NeilBrown 提交于
      PF_LESS_THROTTLE has a very specific use case: to avoid deadlocks
      and live-locks while writing to the page cache in a loop-back
      NFS mount situation.
      
      It therefore makes sense to *only* set PF_LESS_THROTTLE in this
      situation.
      We now know when a request came from the local-host so it could be a
      loop-back mount.  We already know when we are handling write requests,
      and when we are doing anything else.
      
      So combine those two to allow nfsd to still be throttled (like any
      other process) in every situation except when it is known to be
      problematic.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      8658452e
  7. 07 1月, 2014 1 次提交
  8. 04 1月, 2014 1 次提交
  9. 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
  10. 09 7月, 2013 1 次提交
  11. 24 2月, 2013 1 次提交
  12. 16 2月, 2013 1 次提交
    • S
      nfsd: containerize NFSd filesystem · 11f77942
      Stanislav Kinsbursky 提交于
      This patch makes NFSD file system superblock to be created per net.
      This makes possible to get proper network namespace from superblock instead of
      using hard-coded "init_net".
      
      Note: NFSd fs super-block holds network namespace. This garantees, that
      network namespace won't disappear from underneath of it.
      This, obviously, means, that in case of kill of a container's "init" (which is not a mount
      namespace, but network namespace creator) netowrk namespace won't be
      destroyed.
      Signed-off-by: NStanislav Kinsbursky <skinsbursky@parallels.com>
      Signed-off-by: NJ. Bruce Fields <bfields@redhat.com>
      11f77942
  13. 04 2月, 2013 1 次提交
  14. 11 12月, 2012 15 次提交
  15. 28 11月, 2012 1 次提交
  16. 26 11月, 2012 1 次提交
  17. 22 8月, 2012 2 次提交
  18. 25 7月, 2012 2 次提交
  19. 01 6月, 2012 2 次提交
  20. 12 4月, 2012 2 次提交
  21. 04 2月, 2012 2 次提交