I still haven't managed to find out exactly what you want to do with
this, and hence whether it is appropriate.
You mentioned in another Email that this was for a High Availability
setup where one server might take-over a filesystem that another
server was previously serving.
If this is the case, do you really want to change the grace period, or
do you really want to re-start the grace period.
If that is what you really want, then I think that sysctl is
un-necessary and a simple signal would do the trick.
Currently, SIGKILL will
1/ drop all locks held for clients
2/ restart the grace period.
it would probably be quite sensible (and trivial to code) for SIGHUP
(say) to restart the grace period without dropping the locks.
Would this be suitable for you?
NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/