commit | 5b20384fb32cc3f93857f44fb84736d6d62a9917 | [log] [tgz] |
---|---|---|
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | Thu Apr 16 12:46:36 2015 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Apr 17 09:04:03 2015 -0400 |
tree | f6ab08afbf9777142c63d447a1f0e6b02df08679 | |
parent | 3568a13f4089aac90b3763a2b6c293cd2b638ec1 [diff] |
nilfs2: add bmap function to seek a valid key Add a new bmap function, nilfs_bmap_seek_key(), which seeks a valid entry and returns its key starting from a given key. This function can be used to skip hole blocks efficiently. Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> Cc: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>