linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
To: linux-nfs <linux-nfs@vger.kernel.org>
Subject: blocked client due to sleep with lock
Date: Thu, 21 Dec 2017 15:45:16 +0100 (CET)	[thread overview]
Message-ID: <1076094126.762559.1513867516663.JavaMail.zimbra@desy.de> (raw)



Hi all,


when a pNFS client gets the multipath list for a DS with GETDEVICEINFO
it tries to poke all provided ip addresses. By doing that client holds
nfs_clid_init_mutex which is defined in nfs4state.c and calls 
nfs41_discover_server_trunking function. The discovery code waits until
connection get initialized by looping around wait_event_killable called
by nfs_wait_client_init_complete. However, if one of the DS interfaces is
not reachable by the client, the nfs_clid_init_mutex is locked for quite some
time and client can't initialize any other DS, if a parallel request was
issued.

Now, the bonus issue. If DS provides IPv6 address, but client as a link-local
address only, then client will try to use it and first access to the DS will
take some time (400 sec). Moreover, the same situation is observed even
if client has IPv6 only on loopback interface. Unfortunately, looks
like both cases are allowed by IPv6. But with 1200 DSes accessing the data
is quite painful.

Regards,
   Tigran.

                 reply	other threads:[~2017-12-21 14:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1076094126.762559.1513867516663.JavaMail.zimbra@desy.de \
    --to=tigran.mkrtchyan@desy.de \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).