]> 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)
commit5de1a1b0e6ff908d8838610e513e3f0a7bf588b9
treec658d4b8796ccb85675b8c7c931a4c8052b38ea1
parent8387b84f64252854ad7c943e08486f630b81c75d
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