diff options
author | kib <kib@FreeBSD.org> | 2014-12-08 16:48:57 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-12-08 16:48:57 +0000 |
commit | 1a8d4344d0a617f3f123dabedfb9c1615b94ebfa (patch) | |
tree | dab51d0fd4666c42270ad0e89f8f1417a0aa7c34 /contrib/llvm/lib/Transforms/Utils/IntegerDivision.cpp | |
parent | 0957112e3c431e30f0931bb908df03cded76c4d2 (diff) | |
download | FreeBSD-src-1a8d4344d0a617f3f123dabedfb9c1615b94ebfa.zip FreeBSD-src-1a8d4344d0a617f3f123dabedfb9c1615b94ebfa.tar.gz |
Add functions syncer_suspend() and syncer_resume(), which are supposed
to be called before suspension and after resume, correspondingly. The
syncer_suspend() ensures that all filesystems dirty data and metadata
are saved to the permanent storage, and stops kernel threads which
might modify filesystems. The syncer_resume() restores stopped
threads.
For now, only syncer is stopped. This is needed, because each sync
loop causes superblock updates for UFS.
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/Transforms/Utils/IntegerDivision.cpp')
0 files changed, 0 insertions, 0 deletions