diff options
author | Coly Li <colyli@suse.de> | 2020-10-01 14:50:48 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-02 14:25:30 -0600 |
commit | 1132e56e78e3c8f4deaf68ed760c78456a9c61f4 (patch) | |
tree | 64abfdefd468912a9b4db7ae1dfc81daa2fa4f41 /drivers/md/bcache/bcache.h | |
parent | bcache: remove for_each_cache() (diff) | |
download | linux-dev-1132e56e78e3c8f4deaf68ed760c78456a9c61f4.tar.xz linux-dev-1132e56e78e3c8f4deaf68ed760c78456a9c61f4.zip |
bcache: add set_uuid in struct cache_set
This patch adds a separated set_uuid[16] in struct cache_set, to store
the uuid of the cache set. This is the preparation to remove the
embedded struct cache_sb from struct cache_set.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/bcache/bcache.h')
-rw-r--r-- | drivers/md/bcache/bcache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h index 7ffe6b2d179b..94a62acac4fc 100644 --- a/drivers/md/bcache/bcache.h +++ b/drivers/md/bcache/bcache.h @@ -668,6 +668,7 @@ struct cache_set { struct mutex verify_lock; #endif + uint8_t set_uuid[16]; unsigned int nr_uuids; struct uuid_entry *uuids; BKEY_PADDED(uuid_bucket); |