]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: fix to overcome inline_data floods
authorJaegeuk Kim <jaegeuk@kernel.org>
Sat, 23 Jan 2016 14:00:57 +0000 (22:00 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commit6e17bfbc75a5cb9c363ba488bf57cd0152bc3ec0
tree7ed3a95c3e90bf6602371b78c72911dcfa51aeaf
parent25c13551519c66453737e038d104058f94b2e70a
f2fs: fix to overcome inline_data floods

The scenario is:
1. create lots of node blocks
2. sync
3. write lots of inline_data
-> got panic due to no free space

In that case, we should flush node blocks when writing inline_data in #3,
and trigger gc as well.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c