Skip to contentSkip to conversation

ND_MIN_NAMESPACE_SIZE

DISCUSSION Soccer Liu 1 participant 1 message Jun 30, 2017 1 message not in the archive libnvdimm: non-volatile memory device

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Soccer Liu

author
#1 lore raw

Hi all:
 I noticed that ND_MIN_NAMESPACE_SIZE is defined as 4MB.
nvdimm_namespace_common_probe(..){..
   if (size < ND_MIN_NAMESPACE_SIZE) {
 dev_dbg(&ndns->dev, "%pa, too small must be at least %#x\n",
 &size, ND_MIN_NAMESPACE_SIZE);
 return ERR_PTR(-ENODEV);
 }...}
In our configuration, we have a host based software enumerated PMEM device that could be much smaller than 4MB.Because of above failure, no PMEM device was exposed. Is there any reason that it cannot be smaller?
ThanksCheng-mean

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm