projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5f6699
)
f2fs: deactivate inode page if the inode is evicted
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 30 Apr 2014 06:04:39 +0000
(15:04 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 7 May 2014 01:21:58 +0000
(10:21 +0900)
If the inode page is clean during its inode eviction, it'd better drop the page
to reduce further memory pressure.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/inode.c
patch
|
blob
|
history
diff --git
a/fs/f2fs/inode.c
b/fs/f2fs/inode.c
index f7a655373c4615528c70422fabdd14a13cb33963..adc622c6bdce68fd5363e1fb7f12e1d1bc9ccbbb 100644
(file)
--- a/
fs/f2fs/inode.c
+++ b/
fs/f2fs/inode.c
@@
-295,4
+295,5
@@
void f2fs_evict_inode(struct inode *inode)
sb_end_intwrite(inode->i_sb);
no_delete:
clear_inode(inode);
+ invalidate_mapping_pages(NODE_MAPPING(sbi), inode->i_ino, inode->i_ino);
}