Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a88df7f authored by Dan Williams's avatar Dan Williams Committed by Alistair Delva
Browse files

UPSTREAM: 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: default avatarCheng-mean Liu <soccerl@microsoft.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
(cherry picked from commit f2ba5a5b)
Bug: 146400078
Bug: 148297388
Change-Id: I362c3d1bf27921f69e78a9c34674176e85e391f7
Signed-off-by: default avatarAlistair Delva <adelva@google.com>
parent 8f92c773
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment