diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2015-07-29 14:58:09 -0600 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-08-14 13:43:04 -0400 |
commit | 6ec689542b5bc516187917d49b112847dfb75b0b (patch) | |
tree | c8351f8cc5140510800ab2098259133de122ae17 /tools/testing | |
parent | ab45e7632717b811e0786e46ca5ad279cb731b66 (diff) | |
download | linux-6ec689542b5bc516187917d49b112847dfb75b0b.tar.gz linux-6ec689542b5bc516187917d49b112847dfb75b0b.tar.bz2 linux-6ec689542b5bc516187917d49b112847dfb75b0b.zip |
libnvdimm, btt: write and validate parent_uuid
When a BTT is instantiated on a namespace it must validate the namespace
uuid matches the 'parent_uuid' stored in the btt superblock. This
property enforces that changing the namespace UUID invalidates all
former BTT instances on that storage. For "IO namespaces" that don't
have a label or UUID, the parent_uuid is set to zero, and this
validation is skipped. For such cases, old BTTs have to be invalidated
by forcing the namespace to raw mode, and overwriting the BTT info
blocks.
Based on a patch by Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions