|
Notes for implementer:
- turning on "flock" and "localflock" is relatively straight forward
- turning off the flock support with "noflock" would likely be difficult since this might cause flock references to be leaked and/or break applications that have already gotten locks if all of the locks were cancelled
- since the default client behaviour is to start with flock disabled it is OK to only allow enabling either -o remount,flock or -o remount,localflock and disallow -o remount,noflock (client would need to unmount to disable flock)
- there isn't really any state to be saved for "lazystatfs", so it should be possible to enable/disable this feature at will
- the default client behaviour at mount is changing from "nolazystatfs" to "lazystatfs" (http://review.whamcloud.com/19195) it should be possible to both enable and disable this feature via remount
|