]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: use rb_*_cached friends
authorChao Yu <yuchao0@huawei.com>
Thu, 4 Oct 2018 03:18:30 +0000 (11:18 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 16 Oct 2018 16:36:59 +0000 (09:36 -0700)
commit4dada3fd7025e9dbc56c93d9996cba6e47915c62
tree55f52b75e7a306beefb9c3bdd63c7ad4ef4fddb2
parentef2a007134b4eaa39264c885999f296577bc87d2
f2fs: use rb_*_cached friends

As rbtree supports caching leftmost node natively, update f2fs codes
to use rb_*_cached helpers to speed up leftmost node visiting.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h
fs/f2fs/segment.c