]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: do not assign a new segment for dio under space shortage
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 11 Aug 2015 17:17:27 +0000 (10:17 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 14 Aug 2015 23:02:13 +0000 (16:02 -0700)
commit47e70ca46f9074efe6573263c0de5bef0af829de
tree247d777b4fcb7b287fbc1f37660ec96c9b16498a
parentdecd36b6c43a1051bab97571cf4c0ec8450268b0
f2fs: do not assign a new segment for dio under space shortage

If there is not enough free segment, we should not assign a new segment
explicitly. Otherwise, we can run out of free segment.

Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c