the bitrig pedro_wapbl_flush branch has been created by pedro. it is 0 commits behind master, and 2 commits ahead.
commit 601df7067da26deedca1e8a97ea69c2ba9780c02 diff: https://github.com/bitrig/bitrig/commit/601df70 author: Pedro Martelletto <[email protected]> date: Wed Mar 18 11:04:22 2015 +0100 Call wapbl_flush() with waitfor = 1 from the syncer, so the journal is flushed periodically. M sys/ufs/ffs/ffs_vfsops.c commit 82689bd870853d2bc84ef3118ce902224edf2370 diff: https://github.com/bitrig/bitrig/commit/82689bd author: Pedro Martelletto <[email protected]> date: Wed Mar 18 11:02:19 2015 +0100 Don't sleep in wapbl_flush() if we are not supposed to. wapbl_flush() called with waitfor = 0 is expected to perform an opportunistic, best-effort flush of the journal; it is not meant to sleep for locks. Please note that wapbl_flush() should only be called with waitfor = 1 from places where we know no vnode locks are being held, otherwise deadlocks might occur. M sys/kern/vfs_wapbl.c
