1. 02 10月, 2012 10 次提交
  2. 01 8月, 2012 1 次提交
    • N
      nfs: increase number of permitted callback connections. · b042414f
      NeilBrown 提交于
      By default a sunrpc service is limited to (N+3)*20 connections
      where N is the number of threads.  This is 80 when N==1.
      If this number is exceeded a warning is printed suggesting that
      the number of threads be increased.  However with services which
      run a single thread, this is impossible.
      
      For such services there is a ->sv_maxconn setting that can be
      used to forcibly increase the limit, and silence the message.
      This is used by lockd.
      
      The nfs client uses a sunrpc service to handle callbacks and
      it too is single-threaded, so to avoid the useless messages,
      and to allow a reasonable number of concurrent connections,
      we need to set ->sv_maxconn.  1024 seems like a good number.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      b042414f
  3. 31 7月, 2012 1 次提交
  4. 15 6月, 2012 1 次提交
  5. 01 6月, 2012 3 次提交
  6. 12 3月, 2012 1 次提交
    • T
      NFS: Fix a number of sparse warnings · 17280175
      Trond Myklebust 提交于
      Fix a number of "warning: symbol 'foo' was not declared. Should it be
      static?" conditions.
      
      Fix 2 cases of "warning: Using plain integer as NULL pointer"
      
      fs/nfs/delegation.c:263:31: warning: restricted fmode_t degrades to integer
        - We want to allow upgrades to a WRITE delegation, but should otherwise
          consider servers that hand out duplicate delegations to be borken.
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      17280175
  7. 03 3月, 2012 1 次提交
  8. 07 2月, 2012 1 次提交
  9. 01 2月, 2012 1 次提交
  10. 20 8月, 2011 1 次提交
  11. 26 1月, 2011 1 次提交
  12. 07 1月, 2011 5 次提交
  13. 18 11月, 2010 1 次提交
  14. 02 10月, 2010 1 次提交
  15. 11 8月, 2010 1 次提交
    • R
      param: use ops in struct kernel_param, rather than get and set fns directly · 9bbb9e5a
      Rusty Russell 提交于
      This is more kernel-ish, saves some space, and also allows us to
      expand the ops without breaking all the callers who are happy for the
      new members to be NULL.
      
      The few places which defined their own param types are changed to the
      new scheme (more which crept in recently fixed in following patches).
      
      Since we're touching them anyway, we change get() and set() to take a
      const struct kernel_param (which they really are).  This causes some
      harmless warnings until we fix them (in following patches).
      
      To reduce churn, module_param_call creates the ops struct so the callers
      don't have to change (and casts the functions to reduce warnings).
      The modern version which takes an ops struct is called module_param_cb.
      Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
      Reviewed-by: NTakashi Iwai <tiwai@suse.de>
      Tested-by: NPhil Carmody <ext-phil.2.carmody@nokia.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Ville Syrjala <syrjala@sci.fi>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Alessandro Rubini <rubini@ipvvis.unipv.it>
      Cc: Michal Januszewski <spock@gentoo.org>
      Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
      Cc: "J. Bruce Fields" <bfields@fieldses.org>
      Cc: Neil Brown <neilb@suse.de>
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-input@vger.kernel.org
      Cc: linux-fbdev-devel@lists.sourceforge.net
      Cc: linux-nfs@vger.kernel.org
      Cc: netdev@vger.kernel.org
      9bbb9e5a
  16. 27 1月, 2010 1 次提交
  17. 06 12月, 2009 1 次提交
  18. 04 12月, 2009 1 次提交
  19. 10 8月, 2009 1 次提交
  20. 18 6月, 2009 5 次提交
  21. 29 3月, 2009 1 次提交
    • C
      NFS: Start PF_INET6 callback listener only if IPv6 support is available · f738f517
      Chuck Lever 提交于
      Apparently a lot of people need to disable IPv6 completely on their
      distributor-built systems, which have CONFIG_IPV6_MODULE enabled at
      build time.
      
      They do this by blacklisting the ipv6.ko module.  This causes the
      creation of the NFSv4 callback service listener to fail if
      CONFIG_IPV6_MODULE is set, but the module cannot be loaded.
      
      Now that the kernel's PF_INET6 RPC listeners are completely separate
      from PF_INET listeners, we can always start PF_INET.  Then the NFS
      client can try to start a PF_INET6 listener, but it isn't required
      to be available.
      Signed-off-by: NChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
      f738f517