From: Filipe Manana Date: Tue, 21 Mar 2023 11:13:40 +0000 (+0000) Subject: btrfs: update documentation for BTRFS_RESERVE_FLUSH_EVICT flush method X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1a332502c8536fdc50dbf3c2a78f22981251e4fc;p=linux.git btrfs: update documentation for BTRFS_RESERVE_FLUSH_EVICT flush method The BTRFS_RESERVE_FLUSH_EVICT flush method can also commit transactions, see the definition of the evict_flush_states const array at space-info.c, but the documentation for it at space-info.h does not mention it. So update the documentation. Reviewed-by: Josef Bacik Signed-off-by: Filipe Manana Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h index 2033b71b18cec..0bb9d14e60a82 100644 --- a/fs/btrfs/space-info.h +++ b/fs/btrfs/space-info.h @@ -27,6 +27,7 @@ enum btrfs_reserve_flush_enum { * - Running delayed refs * - Running delalloc and waiting for ordered extents * - Allocating a new chunk + * - Committing transaction */ BTRFS_RESERVE_FLUSH_EVICT,