Re: [PATCH 05/20] btrfs: make ALLOC_CHUNK use the space info flags

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

 




On 30.01.20 г. 1:50 ч., Josef Bacik wrote:
> We have traditionally used flush_space() to flush metadata space, so
> we've been unconditionally using btrfs_metadata_alloc_profile() for our
> profile to allocate a chunk.  However if we're going to use this for
> data we need to use btrfs_get_alloc_profile() on the space_info we pass
> in.
> 
> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>



[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