mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
nfit, libnvdimm, region: export 'position' in mapping info
It is useful to be able to know the position of a DIMM in an interleave-set. Consider the case where the order of the DIMMs changes causing a namespace to be invalidated because the interleave-set cookie no longer matches. If the before and after state of each DIMM position is known this state debugged by the system owner. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
parent
0dd6964306
commit
401c0a19c6
4 changed files with 30 additions and 2 deletions
|
@ -87,6 +87,7 @@ struct nd_mapping_desc {
|
|||
struct nvdimm *nvdimm;
|
||||
u64 start;
|
||||
u64 size;
|
||||
int position;
|
||||
};
|
||||
|
||||
struct nd_region_desc {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue