Re: [PATCH v2 19/23] percpu: update alloc path to only scan if contig hints are broken

From: Josef Bacik
Date: Tue Jul 25 2017 - 15:32:54 EST


On Mon, Jul 24, 2017 at 07:02:16PM -0400, Dennis Zhou wrote:
> From: "Dennis Zhou (Facebook)" <dennisszhou@xxxxxxxxx>
>
> Metadata is kept per block to keep track of where the contig hints are.
> Scanning can be avoided when the contig hints are not broken. In that
> case, left and right contigs have to be managed manually.
>
> This patch changes the allocation path hint updating to only scan when
> contig hints are broken.
>
> Signed-off-by: Dennis Zhou <dennisszhou@xxxxxxxxx>

Reviewed-by: Josef Bacik <jbacik@xxxxxx>

Thanks,

Josef