• Dave Kleikamp's avatar
    JFS: Fix hang while flushing outstanding transactions under heavy load · 11059034
    Dave Kleikamp authored
    During syncbarrier recovery, when JFS is waiting for all outstanding
    transactions to complete before allowing new ones to start, there was a
    window where a new transaction starts, but is not committed when JFS thought
    it could stop flushing the journal to disk.  This caused the log_SYNCBARRIER
    flag to not be reset, and no new transactions are allowed to start.
    
    This is fixed by using the log->active field to determine when to reset the
    log_FLUSH flag.
    11059034
jfs_txnmgr.c 75.5 KB