OSDN Git Service

erofs: use meta buffers for inode lookup
authorGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 16 Mar 2022 01:22:46 +0000 (09:22 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Wed, 16 Mar 2022 16:09:02 +0000 (00:09 +0800)
commit500edd0956487281a6fa0e1e34e931817e85d8b6
tree2c98584d4d9c0fbc4a572de0f635336c624eeb05
parentfe5de5859d44eafd5828ec4910cd52cdad8ada1f
erofs: use meta buffers for inode lookup

This converts the remaining inode lookup part by using metabuf in a
straight-forward way. Except that it doesn't use kmap_atomic()
anymore since we now have to maintain two metabufs together.

After this patch, all uncompressed paths are handled with metabuf
instead of page structure.

Link: https://lore.kernel.org/r/20220316012246.95131-2-hsiangkao@linux.alibaba.com
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
fs/erofs/namei.c