[Labeled-nfs] [PATCH 13/13] NFSD: Label change notification for NFSv4 Server

Matthew N. Dodd Matthew.Dodd at sparta.com
Sat Nov 17 00:17:59 EST 2007


David P. Quigley wrote:
> NFSv4 Provides methods for detecting changes in attributes and recalling
> delegations when state has changed on the server. This has been extended to
> include this functionality for label changes on the server. This patch provides
> the server implementation for a new callback used to signal relabeling of
> files.

Delegations aren't involved actually.

Anyhow, its pretty clear that these changes could be used to forward 
'inotify' events to the client by passing 'getfattr' style data.

Honestly I can't see label change notification changes being accepted by 
the Linux community much less the NFSv4 WG without turning them into 
event notification callbacks.  This seems to presumes some sort of "open 
for event notification" state as well (at least to support semantics 
offered by inotify/kqueue type things.)

Comments?


More information about the Labeled-nfs mailing list