]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs: do not wait for timeout if umounting
authorMartin Brandenburg <martin@omnibond.com>
Tue, 25 Apr 2017 19:38:07 +0000 (15:38 -0400)
committerMike Marshall <hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:01 +0000 (14:33 -0400)
commit45ad83b3ad19944e92f5019e6589e5a0148870f0
treea25c822b778b2b9fa1d1d3c9887195385cb8591f
parentedab6e74d7c363d7277275624c6bcd2b30820bdb
orangefs: do not wait for timeout if umounting

When the computer is turned off, all the processes are killed and then
all the filesystems are umounted.  OrangeFS should not wait for the
userspace daemon to come back in that case.

This only works for plain umount(2).  To actually take advantage of this
interactively, `umount -f' is needed; otherwise umount will issue a
statfs first, which will wait for the userspace daemon to come back.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/waitqueue.c