Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5277
b: refs/heads/master
c: c2783f3
h: refs/heads/master
i:
  5275: 8ae4d87
v: v3
  • Loading branch information
Dave Kleikamp committed Jul 25, 2005
1 parent 643602c commit e978c19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c40c202493d18de42fcd0b8b5d68c22aefb70f03
refs/heads/master: c2783f3a625b2aba943ef94623e277557a91a448
3 changes: 2 additions & 1 deletion trunk/fs/jfs/jfs_logmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,8 @@ static int lmLogSync(struct jfs_log * log, int nosyncwait)
* starting until all current transactions are completed
* by setting syncbarrier flag.
*/
if (written > LOGSYNC_BARRIER(logsize) && logsize > 32 * LOGPSIZE) {
if (!test_bit(log_SYNCBARRIER, &log->flag) &&
(written > LOGSYNC_BARRIER(logsize)) && log->active) {
set_bit(log_SYNCBARRIER, &log->flag);
jfs_info("log barrier on: lsn=0x%x syncpt=0x%x", lsn,
log->syncpt);
Expand Down

0 comments on commit e978c19

Please sign in to comment.