> Well... I know what was going on, the second pass will override stat->nr_demoted to be *zero* that makes the first try stat->nr_demoted got lost. Ah you are right. This is a bug when demotion partially succeeds in the first pass. Thanks for catching it. Acked-by: Kaiyang Zhao <kaiyang2@xxxxxxxxxx>