diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-06-04 06:12:07 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-16 00:31:39 +0300 |
commit | f979b13c3cc51584882bffa32965f34e5afa3b9b (patch) | |
tree | b1e4337476603d8e40790dfc9d7c1097237d8b53 /drivers/nvdimm/label.c | |
parent | c12c48ce869d72029d70666f615cbd8f67fc14e9 (diff) | |
download | linux-f979b13c3cc51584882bffa32965f34e5afa3b9b.tar.xz |
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>
Diffstat (limited to 'drivers/nvdimm/label.c')
0 files changed, 0 insertions, 0 deletions