linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* EXCHANGE_ID with same network address but different server owner
@ 2017-05-12 13:27 Stefan Hajnoczi
  2017-05-12 14:34 ` J. Bruce Fields
  0 siblings, 1 reply; 23+ messages in thread
From: Stefan Hajnoczi @ 2017-05-12 13:27 UTC (permalink / raw)
  To: Chuck Lever; +Cc: Linux NFS Mailing List, J. Bruce Fields, Steve Dickson

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

Hi,
I've been working on NFS over the AF_VSOCK transport
(https://www.spinics.net/lists/linux-nfs/msg60292.html).  AF_VSOCK
resets established network connections when the virtual machine is
migrated to a new host.

The NFS client expects file handles and other state to remain valid upon
reconnecting.  This is not the case after VM live migration since the
new host does not have the NFS server state from the old host.

Volatile file handles have been suggested as a way to reflect that state
does not persist across reconnect, but the Linux NFS client does not
support volatile file handles.

I saw NFS 4.1 has a way for a new server running with the same network
address of an old server to communicate that it is indeed a new server
instance.  If the server owner/scope in the EXCHANGE_ID response does
not match the previous server's values then the server is a new
instance.

The implications of encountering a new server owner/scope upon reconnect
aren't clear to me and I'm not sure to what extent the Linux
implementation handles this case.  Can anyone explain what happens if
the NFS client finds a new server owner/scope after reconnecting?

Thanks,
Stefan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2017-05-22 14:25 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12 13:27 EXCHANGE_ID with same network address but different server owner Stefan Hajnoczi
2017-05-12 14:34 ` J. Bruce Fields
2017-05-12 15:01   ` Trond Myklebust
2017-05-12 17:00     ` Chuck Lever
2017-05-15 14:43       ` Stefan Hajnoczi
2017-05-15 16:02         ` J. Bruce Fields
2017-05-16 13:11           ` J. Bruce Fields
2017-05-18 13:34             ` Stefan Hajnoczi
2017-05-18 14:28               ` Chuck Lever
2017-05-18 15:04                 ` Trond Myklebust
2017-05-18 15:08                   ` J. Bruce Fields
2017-05-18 15:15                     ` Chuck Lever
2017-05-18 15:17                       ` Trond Myklebust
2017-05-18 15:17                     ` Trond Myklebust
2017-05-18 15:28                       ` bfields
2017-05-18 16:09                         ` Trond Myklebust
2017-05-18 16:32                           ` J. Bruce Fields
2017-05-18 17:13                             ` Trond Myklebust
2017-05-22 12:45                               ` Stefan Hajnoczi
2017-05-22 14:25                           ` Jeff Layton
2017-05-16 13:33           ` Stefan Hajnoczi
2017-05-16 13:36             ` J. Bruce Fields
2017-05-17 14:33               ` Stefan Hajnoczi

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).