Re: [PATCH v11 16/40] btrfs: advance allocation pointer after tree log node
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-01-12 15:53:28
Also in:
linux-fsdevel
From: Josef Bacik <josef@toxicpanda.com>
Date: 2021-01-12 15:53:28
Also in:
linux-fsdevel
On 12/21/20 10:49 PM, Naohiro Aota wrote:
Since the allocation info of tree log node is not recorded to the extent tree, calculate_alloc_pointer() cannot detect the node, so the pointer can be over a tree node. Replaying the log call btrfs_remove_free_space() for each node in the log tree. So, advance the pointer after the node. Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com> Thanks, Josef