nilfs2: add sync_page method to page caches of meta data

This applies block_sync_page() function to the sync_page method of
page caches for meta data files, gc page caches, and btree node
buffers.  This is a companion patch of ("nilfs2: enable sync_page
mothod") which applied the function for data pages.

This allows lock_page() for those meta data to unplug pending bio
requests.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
此提交包含在:
Ryusuke Konishi
2009-05-27 22:44:34 +09:00
父節點 a53b4751ae
當前提交 fa032744ad
共有 3 個檔案被更改,包括 7 行新增3 行删除

查看文件

@@ -52,8 +52,9 @@
#include "dat.h"
#include "ifile.h"
static struct address_space_operations def_gcinode_aops = {};
/* XXX need def_gcinode_iops/fops? */
static struct address_space_operations def_gcinode_aops = {
.sync_page = block_sync_page,
};
/*
* nilfs_gccache_submit_read_data() - add data buffer and submit read request