commit | 26dfdd8e29f28c08aa67861b3c83d0f3f7d30cee | [log] [tgz] |
---|---|---|
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Sun Jul 18 10:42:23 2010 +0900 |
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Fri Jul 23 10:02:15 2010 +0900 |
tree | 3cc14a71010b454f6524006e973147837f040a39 | |
parent | f8e6cc013b896d75d6ce4ec9e168014af1257fd8 [diff] |
nilfs2: add read ahead mode to nilfs_btnode_submit_block This adds mode argument to nilfs_btnode_submit_block() function and allows it to issue a read-ahead request. An optional submit_ptr argument is also added to store the actual block address for which bio is sent. submit_ptr is used for a series of read-ahead requests, and helps to decide if each requested block is continous to the previous one on disk. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>