Skip to content
Commit c2783f3a authored by Dave Kleikamp's avatar Dave Kleikamp
Browse files

JFS: Don't set log_SYNCBARRIER when log->active == 0



If a metadata page is kept active, it is possible that the sync barrier logic
continues to trigger, even if all active transactions have been phyically
written to the journal.  This can cause a hang, since the completion of the
journal I/O is what unsets the sync barrier flag to allow new transactions
to be created.

Signed-off-by: default avatarDave Kleikamp <shaggy@austin.ibm.com>
parent c40c2024
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment