libnvdimm, dax: record the specified alignment of a dax-device instance
[cascardo/linux.git] / drivers / nvdimm / pfn.h
index 8e343a3..9d2704c 100644 (file)
@@ -33,7 +33,9 @@ struct nd_pfn_sb {
        /* minor-version-1 additions for section alignment */
        __le32 start_pad;
        __le32 end_trunc;
-       u8 padding[4004];
+       /* minor-version-2 record the base alignment of the mapping */
+       __le32 align;
+       u8 padding[4000];
        __le64 checksum;
 };