OSDN Git Service

f2fs: combine huge num of discard rb tree consistence checks
authorYunlei He <heyunlei@huawei.com>
Fri, 19 May 2017 06:42:12 +0000 (14:42 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 24 May 2017 04:07:19 +0000 (21:07 -0700)
commit963932a93ceb6bdb0d45572056d8daebf2948cd0
tree5f586c118f4941be7b3cb26e3091cdf64eedbb7b
parentdad48e73127ba10279ea33e6dbc8d3905c4d31c0
f2fs: combine huge num of discard rb tree consistence checks

Came across a hungtask caused by huge number of rb tree traversing
during adding discard addrs in cp. This patch combine these consistence
checks and move it to discard thread.

Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c