Re: [PATCH] btrfs: block-group: Fix free-space bitmap threshould

2020-08-20 Thread Qu Wenruo
On 2020/8/21 上午10:42, Marcos Paulo de Souza wrote: > From: Marcos Paulo de Souza > > [BUG] > After commit 9afc66498a0b ("btrfs: block-group: refactor how we read one > block group item"), cache->length is being assigned after calling > btrfs_create_block_group_cache. This causes a problem since

[PATCH] btrfs: block-group: Fix free-space bitmap threshould

2020-08-20 Thread Marcos Paulo de Souza
From: Marcos Paulo de Souza [BUG] After commit 9afc66498a0b ("btrfs: block-group: refactor how we read one block group item"), cache->length is being assigned after calling btrfs_create_block_group_cache. This causes a problem since set_free_space_tree_thresholds is calculate the free-space thres