mbox series

[0/4] btrfs: some fixes around quota disable, free space tree disable and relocation

Message ID cover.1687185583.git.fdmanana@suse.com (mailing list archive)
Headers show
Series btrfs: some fixes around quota disable, free space tree disable and relocation | expand

Message

Filipe Manana June 19, 2023, 4:21 p.m. UTC
From: Filipe Manana <fdmanana@suse.com>

These fix some bugs related to quota disable and free space tree disable,
as well as a race between quota disable and relocation that makes
relocation fail with -ENOENT. More details on the change logs.

Filipe Manana (4):
  btrfs: fix race when deleting quota root from the dirty cow roots list
  btrfs: fix race when deleting free space root from the dirty cow roots list
  btrfs: add comment to struct btrfs_fs_info::dirty_cowonly_roots
  btrfs: fix race between quota disable and relocation

 fs/btrfs/free-space-tree.c |  3 +++
 fs/btrfs/fs.h              |  1 +
 fs/btrfs/qgroup.c          | 20 +++++++++++++++++---
 3 files changed, 21 insertions(+), 3 deletions(-)

Comments

David Sterba June 19, 2023, 6:35 p.m. UTC | #1
On Mon, Jun 19, 2023 at 05:21:46PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> These fix some bugs related to quota disable and free space tree disable,
> as well as a race between quota disable and relocation that makes
> relocation fail with -ENOENT. More details on the change logs.
> 
> Filipe Manana (4):
>   btrfs: fix race when deleting quota root from the dirty cow roots list
>   btrfs: fix race when deleting free space root from the dirty cow roots list
>   btrfs: add comment to struct btrfs_fs_info::dirty_cowonly_roots
>   btrfs: fix race between quota disable and relocation

Added to misc-next, thanks.