Whamcloud - gitweb
EX-3301 lipe: use larger candidate number in lpcc_purge
authorLei Feng <flei@whamcloud.com>
Mon, 26 Jul 2021 00:51:59 +0000 (08:51 +0800)
committerLi Xi <lixi@ddn.com>
Sun, 1 Aug 2021 02:02:50 +0000 (02:02 +0000)
commit724a7d4d2dd6d0b1924d699138420602442abbca
tree79a52faae6045cb4fc424f633e5f932d227d3f55
parentb7f8b55374b139578ad6f9cf7168b945e3bab0be
EX-3301 lipe: use larger candidate number in lpcc_purge

Increase the default candidate number to 128K. Calculate the
number of n_discard and n_detach dynamically based on the
candidate number. Set timeout of continious scanning.

Change-Id: I8adacb722fdec820a914250c54d05e0abd740140
Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial
Reviewed-on: https://review.whamcloud.com/44040
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/src/lpcc_purge.c