libnvdimm, pmem: Change pmem physical sector size to PAGE_SIZE
authorVishal Verma <vishal.l.verma@intel.com>
Thu, 23 Jul 2015 17:58:48 +0000 (11:58 -0600)
committerDan Williams <dan.j.williams@intel.com>
Tue, 28 Jul 2015 02:53:19 +0000 (22:53 -0400)
commit6b47496a6fc81816e7edaf8224dfb88e402a05f5
treed233b0e9c9d93b701bef4a97c00aa05222d84833
parent39c686b862cdb2049b90e095b6c6c727b2a7ab60
libnvdimm, pmem: Change pmem physical sector size to PAGE_SIZE

Based on a patch: c8fa317 brd: Request from fdisk 4k alignment by Boaz
Harrosh, allow fdisk to create properly aligned partitions for DAX. This
will also cause mkfs.ext4 to emit a warning if using a file system block
size of less than PAGE_SIZE.

Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Cc: Matthew Wilcox <matthew.r.wilcox@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Elliott, Robert <Elliott@hp.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Acked-by: Boaz Harrosh <boaz@plexistor.com>
Acked-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c