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>
Fri, 7 Jul 2017 17:34:43 +0000 (10:34 -0700)
commit6915ea9d8dd8690570fe4a9864b898447a4f3da0
tree4869631259426e1b6985d66002761d10e5bef037
parentcce1325247b9faafc520c5789fe60feef1fd7092
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>
fs/f2fs/segment.c