diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 12:44:24 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-28 12:44:24 -0700 |
commit | 8caf89157d64f1eedba37113afb4b303b2b3e301 (patch) | |
tree | a72038508368f81e5b3f1b82ad14918df8c7be7a /fs/jfs/jfs_metapage.c | |
parent | f12baeab9d65e2fe1b43b09b666f5efcb81b9369 (diff) | |
parent | 7038f1cbac899654cf0515e60dbe3e44d58271de (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
Diffstat (limited to 'fs/jfs/jfs_metapage.c')
-rw-r--r-- | fs/jfs/jfs_metapage.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/jfs/jfs_metapage.c b/fs/jfs/jfs_metapage.c index eeb37d70e650..26091a5f88d4 100644 --- a/fs/jfs/jfs_metapage.c +++ b/fs/jfs/jfs_metapage.c @@ -395,6 +395,12 @@ static int metapage_writepage(struct page *page, struct writeback_control *wbc) if (mp->nohomeok && !test_bit(META_forcewrite, &mp->flag)) { redirty = 1; + /* + * Make sure this page isn't blocked indefinitely. + * If the journal isn't undergoing I/O, push it + */ + if (mp->log && !(mp->log->cflag & logGC_PAGEOUT)) + jfs_flush_journal(mp->log, 0); continue; } |