bcache: add set_uuid in struct cache_set
authorColy Li <colyli@suse.de>
Thu, 1 Oct 2020 06:50:48 +0000 (14:50 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 2 Oct 2020 20:25:30 +0000 (14:25 -0600)
commit1132e56e78e3c8f4deaf68ed760c78456a9c61f4
tree64abfdefd468912a9b4db7ae1dfc81daa2fa4f41
parent08fdb2cddbdc783fecadfb606868c4498165fc30
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>
drivers/md/bcache/bcache.h
drivers/md/bcache/debug.c
drivers/md/bcache/super.c
include/trace/events/bcache.h