diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2013-02-02 23:51:51 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-03-18 21:00:34 +0900 |
commit | e0f56cb44b05abacb6aa8fa8695c28431e84b7a0 (patch) | |
tree | 857e17dd8c9f52c9e9b82502313049a4df84fa56 /fs/f2fs/dir.c | |
parent | 52c2db3f95ff8e8d9650885d6d66b8258ded1e38 (diff) |
f2fs: optimize get node page readahead part
We can remove the call to find_get_page to get a page from the cache
and check for up-to-date, instead we can make use of grab_cache_page
part itself to fetch the page from the cache.
So, removing the call and moving the PageUptodate at proper place, also
taken care of moving the lock_page condition in the page_hit part.
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/dir.c')
0 files changed, 0 insertions, 0 deletions