]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commitb5a9d61eebdd0016ccb383b25a5c3d04977a6549
treea25c822b778b2b9fa1d1d3c9887195385cb8591f
parentb7a57ccab891584d00ae03dce1176b2d4cbe08e7
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