[PATCH] NFS: implement option checking when remounting NFS filesystems
Trond Myklebust
trond.myklebust at fys.uio.no
Fri Apr 11 15:32:27 EDT 2008
On Fri, 2008-04-11 at 15:19 -0400, Peter Staubach wrote:
> Jeff Layton wrote:
> > When remounting an NFS or NFS4 filesystem, the new NFS options are not
> > respected, yet the remount will still return success. This patch adds
> > a remount_fs sb op for NFS that checks any new nfs mount options against
> > the existing ones and fails the mount if any have changed.
> >
> > This is only implemented for string-based mount options since doing
> > this with binary options isn't really feasible.
>
> What about respecting the new options as makes sense and rejecting
> those which absolutely can't be changed dynamically?
If we were to do this, then how should superblocks that are shared
between multiple mountpoints behave?
Cheers
Trond
More information about the NFSv4
mailing list