From: dledford@redhat.com (Doug Ledford)
Subject: Reconnect on RDMA device reset
Date: Mon, 29 Jan 2018 16:27:20 -0500 [thread overview]
Message-ID: <1517261240.27592.245.camel@redhat.com> (raw)
In-Reply-To: <EFFF4091-3CBA-474B-B9D7-FF7EDA3B1613@oracle.com>
On Mon, 2018-01-29@15:11 -0500, Chuck Lever wrote:
> > On Jan 29, 2018,@3:01 PM, Sagi Grimberg <sagi@grimberg.me> wrote:
> >
> > Hi Chuck,
> >
> > > For NFS/RDMA, I think of the "failover" case where a device is
> > > removed, then a new one is plugged in (or an existing cold
> > > replacement is made available) with the same IP configuration.
> > > On a "hard" NFS mount, we want the upper layers to wait for
> > > a new suitable device to be made available, and then to use
> > > it to resend any pending RPCs. The workload should continue
> > > after a new device is available.
> >
> > Really? so the context is held forever (in case the device never
> > comes back)?
>
> I didn't say this was the best approach :-) And it certainly can
> change if we have something better.
Whether it's the best or not, it's the defined behavior of the "hard"
mount option. So if someone doesn't want that, you don't use a hard
mount ;-)
Hard mounts are great for situations where you have a high degree of
faith that even if they server disappears, it will reappear soon. They
suck when the server totally dies though, because now all the hard mount
clients are stuck :-/.
--
Doug Ledford <dledford at redhat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20180129/178ad2ea/attachment-0001.sig>
next prev parent reply other threads:[~2018-01-29 21:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-22 15:07 Reconnect on RDMA device reset Oren Duer
2018-01-23 12:42 ` Sagi Grimberg
2018-01-24 7:41 ` Oren Duer
2018-01-24 20:52 ` Sagi Grimberg
2018-01-25 14:10 ` Oren Duer
2018-01-29 19:58 ` Sagi Grimberg
2018-01-25 18:13 ` Doug Ledford
2018-01-25 19:06 ` Chuck Lever
2018-01-29 20:01 ` Sagi Grimberg
2018-01-29 20:11 ` Chuck Lever
2018-01-29 21:27 ` Doug Ledford [this message]
2018-01-29 21:46 ` Chuck Lever
2018-01-25 22:48 ` Jason Gunthorpe
2018-01-29 20:36 ` Sagi Grimberg
2018-01-29 21:34 ` Bart Van Assche
2018-01-29 22:28 ` Doug Ledford
2018-01-30 15:03 ` Oren Duer
2018-01-30 17:24 ` Doug Ledford
2018-01-30 17:51 ` Steve Wise
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=1517261240.27592.245.camel@redhat.com \
--to=dledford@redhat.com \
/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).