diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-02-01 21:27:22 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-02-01 21:27:22 -0800 |
commit | f2ba5a5baecf795c2150826bd0c95fc3f7f3d226 (patch) | |
tree | 50d1a64e01d13f5701b48da8a4a76b7fbc7d410a /drivers/nvdimm | |
parent | 0fb5c8df609eaca3cb7c24e7f91470f8dd5984ec (diff) |
libnvdimm, namespace: make min namespace size 4K
The arbitrary 4MB minimum namespace size turns out to be too large for
some environments. Quoting Cheng-mean Liu:
In the case of emulated NVDIMM devices in the VM environment, there
are scenarios that NVDIMM device with much smaller sizes are
desired, for example, we might use a single enumerated NVDIMM DAX
device for representing each container layer, which in some cases
could be just a few KBs size.
PAGE_SIZE is the minimum where we can still support DAX of at least
a single page.
Cc: Matthew Wilcox <willy@infradead.org>
Reported-by: Cheng-mean Liu <soccerl@microsoft.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm')
0 files changed, 0 insertions, 0 deletions