diff options
author | David Sterba <dsterba@suse.com> | 2016-01-25 17:51:31 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-02-11 16:15:43 +0100 |
commit | 242e2956e4afde7727fffe21adc0a7b198b77f96 (patch) | |
tree | 15a67db1b4f27ab11ba1c3828e948a9b1ffeac1a /fs/btrfs/ctree.h | |
parent | 50c2d5abe64c1726b48d292a2ab04f60e8238933 (diff) | |
download | linux-242e2956e4afde7727fffe21adc0a7b198b77f96.tar.bz2 |
btrfs: switch dev stats item to the permanent item key
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index ffc081e11277..70054ed2bd7b 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h @@ -100,6 +100,9 @@ struct btrfs_ordered_sum; /* tracks free space in block groups. */ #define BTRFS_FREE_SPACE_TREE_OBJECTID 10ULL +/* device stats in the device tree */ +#define BTRFS_DEV_STATS_OBJECTID 0ULL + /* for storing balance parameters in the root tree */ #define BTRFS_BALANCE_OBJECTID -4ULL @@ -2219,7 +2222,7 @@ struct btrfs_ioctl_defrag_range_args { * * - device statistics, store IO stats in the device tree, one key for all * stats - * (0, BTRFS_DEV_STATS_KEY, 0) + * (BTRFS_DEV_STATS_OBJECTID, BTRFS_DEV_STATS_KEY, 0) */ #define BTRFS_PERSISTENT_ITEM_KEY 249 |