]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: introduce key type for persistent permanent items
authorDavid Sterba <dsterba@suse.com>
Mon, 25 Jan 2016 16:32:11 +0000 (17:32 +0100)
committerDavid Sterba <dsterba@suse.com>
Thu, 11 Feb 2016 15:15:43 +0000 (16:15 +0100)
commit50c2d5abe64c1726b48d292a2ab04f60e8238933
tree46ef95353bb165cc1d2474cd68a95174c834c7cf
parentc479cb4f14f99868108da99568950e5311e1fe4c
btrfs: 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.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.h