OSDN Git Service

nilfs2: introduce check flag to btree node buffer
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 18 Jul 2010 01:42:25 +0000 (10:42 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 23 Jul 2010 01:02:15 +0000 (10:02 +0900)
commit4e13e66bee2d792c1aae21797f16c181024834eb
tree1fa51dade28bc025d9bda0e09dec1f202281a498
parent464ece88630d0fb715ca942eabb1da825046a534
nilfs2: introduce check flag to btree node buffer

nilfs_btree_get_block() now may return untested buffer due to
read-ahead.  This adds a new flag for buffer heads so that the btree
code can check whether the buffer is already verified or not.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
fs/nilfs2/btree.c
fs/nilfs2/page.c
fs/nilfs2/page.h