commit | f979b13c3cc51584882bffa32965f34e5afa3b9b | [log] [tgz] |
---|---|---|
author | Dan Williams <dan.j.williams@intel.com> | Sun Jun 04 12:12:07 2017 +0900 |
committer | Dan Williams <dan.j.williams@intel.com> | Thu Jun 15 14:31:39 2017 -0700 |
tree | b1e4337476603d8e40790dfc9d7c1097237d8b53 | |
parent | c12c48ce869d72029d70666f615cbd8f67fc14e9 [diff] |
libnvdimm, label: honor the lba size specified in v1.2 labels Previously we only honored the lba size for blk-aperture mode namespaces. For pmem namespaces the lba size was just assumed to be 512. With the new v1.2 label definition and compatibility with other operating environments, the ->lbasize property is now respected for pmem namespaces. Cc: Ross Zwisler <ross.zwisler@linux.intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>