Re: [PATCH] Btrfs: free bitmaps properly when evicting the cache

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

 



Josef Bacik wrote:
> If our space cache is wrong, we do the right thing and free up everything that
> we loaded, however we don't reset the total_bitmaps counter or the thresholds or
> anything.  So in btrfs_remove_free_space_cache make sure to call free_bitmap()
> if it's a bitmap, this will keep us from panicing when we check to make sure we
> don't have too many bitmaps.  Thanks,
> 
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxx>

Reviewed-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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