summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/patches/patch-r208961-clang-version-include.diff
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2014-12-13 16:07:01 +0000
committerkib <kib@FreeBSD.org>2014-12-13 16:07:01 +0000
commit07899121cbcd3408ca43bb2f40102fa7e41decae (patch)
tree6c1328cd8a9d3146a168463bd4999b76bef1263d /contrib/llvm/patches/patch-r208961-clang-version-include.diff
parentca2d4fd9c1acb3914333668ef0b231d092912fc0 (diff)
downloadFreeBSD-src-07899121cbcd3408ca43bb2f40102fa7e41decae.zip
FreeBSD-src-07899121cbcd3408ca43bb2f40102fa7e41decae.tar.gz
Only sleep interruptible while waiting for suspension end when
filesystem specified VFCF_SBDRY flag, i.e. for NFS. There are two issues with the sleeps. First, applications may get unexpected EINTR from the disk i/o syscalls. Second, interruptible sleep allows the stop of the process, and since mount point is referenced while thread sleeps, unmount cannot free mount point structure' memory, blocking unmount indefinitely. Even for NFS, it is probably only reasonable to enable PCATCH for intr mounts, but this information is currently not available at VFS level. Reported and tested by: pho (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'contrib/llvm/patches/patch-r208961-clang-version-include.diff')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud