Re: [PATCH 18/19] btrfs: increase the metadata allowance for the free_space_cache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 07, 2019 at 04:17:49PM -0400, Dennis Zhou wrote:
> Currently, there is no way for the free space cache to recover from
> being serviced by purely bitmaps because the extent threshold is set to
> 0 in recalculate_thresholds() when we surpass the metadata allowance.
> 
> This adds a recovery mechanism by keeping large extents out of the
> bitmaps and increases the metadata upper bound to 64KB. The recovery
> mechanism bypasses this upper bound, thus making it a soft upper bound.
> But, with the bypass being 1MB or greater, it shouldn't add unbounded
> overhead.
> 
> Signed-off-by: Dennis Zhou <dennis@xxxxxxxxxx>

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux