OSDN Git Service

f2fs: introduce __check_sit_bitmap
authorChao Yu <yuchao0@huawei.com>
Fri, 30 Jun 2017 09:19:02 +0000 (17:19 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 13 Jul 2017 23:58:06 +0000 (16:58 -0700)
commit3099c953ccfdd643e83329f55afa088e94904831
treed19bc35389532e76b95fd3933c604214711031d1
parent243d3acf5b181bbea3a4ad2ec8a3a84c26a22701
f2fs: introduce __check_sit_bitmap

After we introduce discard thread, discard command can be issued
concurrently with data allocating, this patch adds new function to
heck sit bitmap to ensure that userdata was invalid in which on-going
discard command covered.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
 Conflicts:
fs/f2fs/segment.c
fs/f2fs/segment.c