summaryrefslogtreecommitdiffstats
path: root/lib/libvmmapi/vmmapi.c
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2014-08-18 22:53:48 +0000
committermckusick <mckusick@FreeBSD.org>2014-08-18 22:53:48 +0000
commit4791bac9b41a259cdb9821e381df8837926220e2 (patch)
tree3f03c7c27ae5b52fc385dea819a103c4b5167b36 /lib/libvmmapi/vmmapi.c
parent5482ed49237e17f95e34a2e4479f4b875414661d (diff)
downloadFreeBSD-src-4791bac9b41a259cdb9821e381df8837926220e2.zip
FreeBSD-src-4791bac9b41a259cdb9821e381df8837926220e2.tar.gz
MFC of 269533 (by mckusick):
Add support for multi-threading of soft updates. Replace a single soft updates thread with a thread per FFS-filesystem mount point. The threads are associated with the bufdaemon process. Reviewed by: kib Tested by: Peter Holm and Scott Long MFC after: 2 weeks Sponsored by: Netflix MFC of 269853 (by kib): Revision r269457 removed the Giant around mount and unmount code, but r269533, which was tested before r269457 was committed, implicitely relied on the Giant to protect the manipulations of the softdepmounts list. Use softdep global lock consistently to guarantee the list structure now. Insert the new struct mount_softdeps into the softdepmounts only after it is sufficiently initialized, to prevent softdep_speedup() from accessing bare memory. Similarly, remove struct mount_softdeps for the unmounted filesystem from the tailq before destroying structure rwlock. Reported and tested by: pho Reviewed by: mckusick Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'lib/libvmmapi/vmmapi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud