btrfs-progs: introduce key type for persistent permanent items
authorDavid Sterba <dsterba@suse.com>
Tue, 1 Nov 2016 12:32:26 +0000 (13:32 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 9 Nov 2016 12:47:30 +0000 (13:47 +0100)
commite244550b42399370c11a4685a1da1954ec8c269e
treec0403b120f95c5cffa2ba3fcbf9d1f098accea6f
parente905d055f633f0fa2fd402e26c68d8dee7540e00
btrfs-progs: introduce key type for persistent permanent items

The number of distinct key types is not that big that we could waste one
for something new we want to store in the tree.

Similar to the temporary items, we'll introduce a new name for an
existing key value and use the objectid for further extension.  The
victim is the BTRFS_DEV_STATS_KEY (248).

The device stats are an example of a permanent item.

[ kernel patch 50c2d5abe64c1726b48d292a2ab04f60e8238933 ]
Signed-off-by: David Sterba <dsterba@suse.com>
ctree.h