From: Dave Kleikamp Date: Thu, 3 Jan 2008 19:09:33 +0000 (-0600) Subject: JFS: clear PAGECACHE_TAG_DIRTY for no-write pages X-Git-Tag: v2.6.25-rc1~1238^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29a424f28390752a4ca2349633aaacc6be494db5;p=pandora-kernel.git JFS: clear PAGECACHE_TAG_DIRTY for no-write pages When JFS decides to drop a dirty metapage, it simply clears the META_dirty bit and leave alone the PG_dirty and PAGECACHE_TAG_DIRTY bits. When such no-write page goes to metapage_writepage(), the `relic' PAGECACHE_TAG_DIRTY tag should be cleared, to prevent pdflush from repeatedly trying to sync them. This is done through set_page_writeback(), so call it should be called in all cases. If no I/O is initiated, end_page_writeback() should be called immediately. This is how __block_write_full_page() does things. Signed-off-by: Dave Kleikamp CC: Fengguang Wu --- Reading git-diff-tree failed