]> git.neil.brown.name Git - history.git/commit
XFS: Fix a couple of nasty log problems
authorStephen Lord <lord@sgi.com>
Tue, 15 Oct 2002 01:26:56 +0000 (03:26 +0200)
committerChristoph Hellwig <hch@sgi.com>
Tue, 15 Oct 2002 01:26:56 +0000 (03:26 +0200)
commit7e537f6c4d7c0299e9f1a2e7b99a9794a82b52ab
tree97fc2dd32b5e9687dfe6c69ea04c0469c0d83127
parent9318cd45c480ef02ab9a73d45ce426c44c7cfd53
XFS: Fix a couple of nasty log problems

When a transaction crosses multiple iclogs, the async transaction code
needs to force the log up until the last iclog.  We need to record this
lsn in the transaction so we can do a log flush on it.

Secondly, there was a sleep/wakeup pair between flushing the log and
log write completions which was a) incorrect, and  b) no longer needed.
This could result in early wakeups of threads waiting for log flushes.

Modid: 2.5.x-xfs:slinx:129778a
fs/xfs/xfs_alloc.c
fs/xfs/xfs_log.c
fs/xfs/xfs_trans.c
fs/xfs/xfs_trans.h
fs/xfs/xfsidbg.c