aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/space-info.h
diff options
context:
space:
mode:
authorGravatar Filipe Manana <fdmanana@suse.com> 2023-03-21 11:13:40 +0000
committerGravatar David Sterba <dsterba@suse.com> 2023-04-17 18:01:18 +0200
commit1a332502c8536fdc50dbf3c2a78f22981251e4fc (patch)
tree273283aaf43ae1bcaa9e132e33b956919ae37ff2 /fs/btrfs/space-info.h
parentbtrfs: remove check for NULL block reserve at btrfs_block_rsv_check() (diff)
downloadlinux-1a332502c8536fdc50dbf3c2a78f22981251e4fc.tar.gz
linux-1a332502c8536fdc50dbf3c2a78f22981251e4fc.tar.bz2
linux-1a332502c8536fdc50dbf3c2a78f22981251e4fc.zip
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 <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/space-info.h')
-rw-r--r--fs/btrfs/space-info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/space-info.h b/fs/btrfs/space-info.h
index 2033b71b18ce..0bb9d14e60a8 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,