Home
last modified time | relevance | path

Searched hist:d5b692b7 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Dnode.cd5b692b7 Thu Apr 30 05:35:50 CDT 2015 Chao Yu <chao2.yu@samsung.com> f2fs: do not re-lookup nat cache with same nid

In set_node_addr, we try to lookup cached nat entry of inode and then
set flag in it.

But previously in this function, we have already grabbed nat entry with
current node id, if the node id is the same as the one of inode, we
do not need to lookup it in cache again.

So this patch adds condition judgment for reducing unneeded lookup.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
d5b692b7 Thu Apr 30 05:35:50 CDT 2015 Chao Yu <chao2.yu@samsung.com> f2fs: do not re-lookup nat cache with same nid

In set_node_addr, we try to lookup cached nat entry of inode and then
set flag in it.

But previously in this function, we have already grabbed nat entry with
current node id, if the node id is the same as the one of inode, we
do not need to lookup it in cache again.

So this patch adds condition judgment for reducing unneeded lookup.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>