diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-09-14 19:04:37 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2022-09-26 12:28:06 +0200 |
commit | 16708a889867a77fb3f72820fe5046db9e437eee (patch) | |
tree | 0d18ee348b99d996aef022644485d52687820584 /fs/btrfs/block-group.h | |
parent | bd86a532b26355695e87a6cf394d9c8bd24686c9 (diff) | |
download | lwn-16708a889867a77fb3f72820fe5046db9e437eee.tar.gz lwn-16708a889867a77fb3f72820fe5046db9e437eee.zip |
btrfs: move btrfs_caching_type to block-group.h
This is a block group related definition, move it into block-group.h.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/block-group.h')
-rw-r--r-- | fs/btrfs/block-group.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/btrfs/block-group.h b/fs/btrfs/block-group.h index f48db81d1d56..f21a34d719c5 100644 --- a/fs/btrfs/block-group.h +++ b/fs/btrfs/block-group.h @@ -57,6 +57,13 @@ enum btrfs_block_group_flags { BLOCK_GROUP_FLAG_ZONED_DATA_RELOC, }; +enum btrfs_caching_type { + BTRFS_CACHE_NO, + BTRFS_CACHE_STARTED, + BTRFS_CACHE_FINISHED, + BTRFS_CACHE_ERROR, +}; + struct btrfs_caching_control { struct list_head list; struct mutex mutex; |