nilfs2: add btree get block function with readahead option
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Sun, 18 Jul 2010 01:42:24 +0000 (10:42 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 23 Jul 2010 01:02:15 +0000 (10:02 +0900)
commit464ece88630d0fb715ca942eabb1da825046a534
tree254185629ce58cf314c5b22b846969a3c26984ed
parent26dfdd8e29f28c08aa67861b3c83d0f3f7d30cee
nilfs2: add btree get block function with readahead option

This adds __nilfs_btree_get_block() function that can issue a series
of read-ahead requests for sibling btree nodes.

This read-ahead needs parent node block, so nilfs_btree_readahead_info
structure is added to pass the information that
__nilfs_btree_get_block() needs.

This also replaces the previous nilfs_btree_get_block() implementation
with a wrapper function of __nilfs_btree_get_block().

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