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>
Thu, 13 Jul 2017 23:56:10 +0000 (16:56 -0700)
commitb89cdaf6b93047d2f916d8c34100b1239665fd20
treee69813671d67d4bc7da4ac8821028a6e4d6838ae
parente2b2bed0961e34d6fd1c293af66bd39b10a317f4
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