aboutsummaryrefslogtreecommitdiffstats
path: root/changes.ipv6
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2015-01-16 14:23:41 -0500
committerLukas Nykryn <lnykryn@redhat.com>2015-02-27 10:57:23 +0100
commit1e58eb682bd10c14d5b807130f18528545725a40 (patch)
tree97dbcabe9e07f1cf633914aeb468146b4ad61a90 /changes.ipv6
parent502d080dae0a3d604a0ff77fc4b0338102b847bc (diff)
downloadinitscripts-1e58eb682bd10c14d5b807130f18528545725a40.tar
initscripts-1e58eb682bd10c14d5b807130f18528545725a40.tar.gz
initscripts-1e58eb682bd10c14d5b807130f18528545725a40.tar.bz2
initscripts-1e58eb682bd10c14d5b807130f18528545725a40.tar.xz
initscripts-1e58eb682bd10c14d5b807130f18528545725a40.zip
netfs: don't race NFS umount to network shutdown
RHEL6 customers have been reporting hangs when restaring due to IO for NFS filesystems being unable to flush after network shutdown. The current __umount_loop allows newly created processes to continue to open files to NFS filesystems, which can create thisi problem. Change the umount logic to perform a MNT_DETACH, then search for processes that have open file descriptors on the detached filesystems. The detach prevents newly created processes from opening new files during our search. Finally, after making every attempt to clean up processes with open files, perform a sync to flush NFS filesystems before continuing onto network shutdown.
Diffstat (limited to 'changes.ipv6')
0 files changed, 0 insertions, 0 deletions