Re: [PATCH v8 38/41] btrfs: extend zoned allocator to use dedicated tree-log block group

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

 



On Fri, Oct 02, 2020 at 03:36:45AM +0900, Naohiro Aota wrote:
> --- a/fs/btrfs/extent-tree.c
> +++ b/fs/btrfs/extent-tree.c
> @@ -3656,6 +3656,9 @@ struct find_free_extent_ctl {
>  
>  	/* Allocation policy */
>  	enum btrfs_extent_allocation_policy policy;
> +
> +	/* Allocation is called for tree-log */
> +	bool for_treelog;

There are already bool flags in find_free_extent_ctl, move it after
orig_have_caching_bg.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux