• C
    f2fs: enhance lookup xattr · ba38c27e
    Chao Yu 提交于
    Previously, in getxattr we will load all entries both in inline xattr and
    xattr node block, and then do the lookup in all entries, but our lookup
    flow shows low efficiency, since if we can lookup and hit in inline xattr
    of inode page cache first, we don't need to load and lookup xattr node
    block, which can obviously save cpu time and IO latency.
    Signed-off-by: NChao Yu <yuchao0@huawei.com>
    [Jaegeuk Kim: initialize NULL to avoid warning]
    Signed-off-by: NJaegeuk Kim <jaegeuk@kernel.org>
    ba38c27e
xattr.c 16.5 KB