mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-05 05:54:25 +00:00
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>
This commit is contained in:
parent
0fb5c8df60
commit
f2ba5a5bae
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ enum nd_driver_flags {
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
ND_MIN_NAMESPACE_SIZE = 0x00400000,
|
ND_MIN_NAMESPACE_SIZE = PAGE_SIZE,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ars_masks {
|
enum ars_masks {
|
||||||
|
|
Loading…
Add table
Reference in a new issue