summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_inode.h
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-01-03 13:09:33 -0600
committerDave Kleikamp <shaggy@linux.vnet.ibm.com>2008-01-03 13:09:33 -0600
commit29a424f28390752a4ca2349633aaacc6be494db5 (patch)
tree3f9306c0dc66b049063e65cbb9e723cff6af524a /fs/jfs/jfs_inode.h
parentb8c9a18712f7b617fda66d878ce3759c9e575ba0 (diff)
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 <shaggy@linux.vnet.ibm.com> CC: Fengguang Wu <wfg@mail.ustc.edu.cn>
Diffstat (limited to 'fs/jfs/jfs_inode.h')
0 files changed, 0 insertions, 0 deletions