From: Andreas Dilger <adilger@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] hiding non-fatal communications errors
Date: Wed, 04 Jun 2008 16:20:08 -0600 [thread overview]
Message-ID: <20080604222008.GD2961@webber.adilger.int> (raw)
In-Reply-To: <C46C546F.57D1%peter.braam@sun.com>
On Jun 04, 2008 14:17 -0700, Peter J. Braam wrote:
> Andreas has been suggesting re-transmission of these callback (aka AST) RPCs
> for years. If we think it through carefully, it might be a simple solution.
Yes, server->client resends at least to a limited extent would help in the
case of short-term network partitioning or e.g. a suddenly-failed router.
We have some amount of "RPC resend before recovery" support for bulk RPCs
in the case of checksum errors - e.g. retry the bulk RPC 5 times for a
checksum error before returning an IO error to the application.
I suspect this could be adapted to allowing a fixed number of retries for
server-originated RPCs also. In the case of LDLM blocking callbacks sent
to a client, a resend is currently harmless (either the client is already
processing the callback, or the lock was cancelled).
> On 6/4/08 6:25 AM, "Eric Barton" <eeb@sun.com> wrote:
>
> > Something for recovery experts...
> >
> > Communications may timeout for non-fatal reasons e.g...
> >
> > 1. Adaptive timeouts were too aggressive (e.g. if server load has
> > suddenly become extreme).
> >
> > 2. An LNET router has failed but one or more of its peers hasn't
> > detected this yet.
> >
> > When a lustre client times out an RPC it sent to a server, it (a) allows
> > pending signals to be delivered (i.e. you can now ^C the process doing
> > the I/O) and (b) tries to reconnect and/or fail over. If it reconnects
> > and confirms that the server has not rebooted, the RPC is resent and
> > may now succeed.
> >
> > This should work in all "normal" RPCs (i.e. all RPCs apart from ldlm
> > callbacks (ASTs)) since the server knows whether it actually processed
> > the RPC or not and can handle the resent request appropriately.
> >
> > However I think there is a problem if the RPC is an ldlm callback. In
> > this case, the lustre server sends the RPC to the lustre client and
> > AFAIK the request is not resent if it times out. If the request is a
> > blocking AST, the lustre client isn't notified to clean its cache and
> > cancel locks - and it risks being evicted.
> >
> > How should this be handled?
> >
> > _______________________________________________
> > Lustre-devel mailing list
> > Lustre-devel at lists.lustre.org
> > http://lists.lustre.org/mailman/listinfo/lustre-devel
>
>
> _______________________________________________
> Lustre-devel mailing list
> Lustre-devel at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-devel
Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.
next prev parent reply other threads:[~2008-06-04 22:20 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-04 13:25 [Lustre-devel] hiding non-fatal communications errors Eric Barton
2008-06-04 21:17 ` Peter Braam
2008-06-04 22:20 ` Andreas Dilger [this message]
2008-06-05 4:12 ` Oleg Drokin
2008-06-05 16:42 ` Robert Read
2008-06-05 16:59 ` Oleg Drokin
2008-06-06 3:29 ` Peter Braam
2008-06-06 3:38 ` Oleg Drokin
2008-06-06 3:40 ` Peter Braam
2008-06-06 4:41 ` Andreas Dilger
2008-06-06 11:13 ` Eric Barton
2008-06-19 20:24 ` Nathaniel Rutman
2008-06-06 12:23 ` Peter Braam
2008-06-06 3:37 ` Peter Braam
2008-06-04 23:41 ` Eric Barton
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=20080604222008.GD2961@webber.adilger.int \
--to=adilger@sun.com \
--cc=lustre-devel@lists.lustre.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.