]> git.karo-electronics.de Git - karo-tx-linux.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>
Sun, 31 Mar 2013 04:58:51 +0000 (13:58 +0900)
commit7271f010763352a1efa8c75829f9b38c9fe0d438
treec86aaf9d803630a93a39d62f85c794d9c4176880
parent210943de0f08fc61a354ee7915c70a4533181584
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.

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