summaryrefslogtreecommitdiffstats
path: root/include/misc
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2018-01-08 18:48:33 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-01-16 15:40:00 -0800
commit49c60c67d235647c0bec7c68982539f3a6e8bbcd (patch)
tree73ff723b4158094dcab5c70403fa83411dab9977 /include/misc
parent94b1e10e745424fe6183023ff5a525bf7d12f779 (diff)
downloadtalos-obmc-linux-49c60c67d235647c0bec7c68982539f3a6e8bbcd.tar.gz
talos-obmc-linux-49c60c67d235647c0bec7c68982539f3a6e8bbcd.zip
f2fs: avoid high cpu usage in discard thread
We take very long time to finish generic/476, this is because we will check consistence of all discard entries in global rb tree while traversing all different granularity pending lists, even when the list is empty, in order to avoid that unneeded overhead, we have to skip the check when coming up an empty list. generic/476 time consumption: cost Before patch & w/o consistence check 57s Before patch & w/ consistence check 1426s After patch 78s Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud