Reconnect on RDMA device reset
Doug Ledford
dledford at redhat.com
Mon Jan 29 13:27:20 PST 2018
On Mon, 2018-01-29 at 15:11 -0500, Chuck Lever wrote:
> > On Jan 29, 2018, at 3:01 PM, Sagi Grimberg <sagi at 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>
More information about the Linux-nvme
mailing list