linux24/fs/jfs

OSS-jfs_User <[email protected]> Mon, 10 Mar 2003 13:37:46 -0500
Newsgroups gmane.comp.file-systems.jfs.cvs
Message-ID <[email protected]>
Update of /usr/cvs/jfs/linux24/fs/jfs
In directory swg3ws024:/tmp/cvs-serv12416

Modified Files:
	jfs_logmgr.c jfs_txnmgr.c 
Log Message:
JFS: Fix hang while flushing outstanding transactions under heavy load
  
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.