]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: allocate remained free segments in the LFS mode
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Sun, 31 Mar 2013 04:58:51 +0000 (13:58 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 3 Apr 2013 08:27:50 +0000 (17:27 +0900)
commit16df4f5e600a5b4cc98abebd56aaa84fba71d3b6
treec658d4b8796ccb85675b8c7c931a4c8052b38ea1
parent1dbd0f0e598cad32a404ff4f286541bb6d1be6ef
f2fs: allocate remained free segments in the LFS mode

This patch adds a new condition that allocates free segments in the current
active section even if SSR is needed.
Otherwise, f2fs cannot allocate remained free segments in the section since
SSR finds dirty segments only.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c