As we processes blocks from the segment in order, it is best
to keep them in order for later processing.
They will be sorted again when being added to a cluster,
but the more we help here, the better.
Signed-off-by: NeilBrown <neilb@suse.de>
break;
if (list_empty(&b->cleaning)) {
- list_add(&b->cleaning, &tc->cleaning);
+ list_add_tail(&b->cleaning, &tc->cleaning);
getdref(b, MKREF(cleaning));
igrab(ino);
}