lkml.org 
[lkml]   [2016]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 1/8 linux-next] libnvdimm, namespace: update message level on smaller reservations
On Fri, Dec 2, 2016 at 11:19 AM, Fabian Frederick <fabf@skynet.be> wrote:
> kernel command lines like memmap=1M!512M gave no pmem outputs
> without debugging.
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
> drivers/nvdimm/namespace_devs.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/nvdimm/namespace_devs.c b/drivers/nvdimm/namespace_devs.c
> index abe5c6b..b00045b 100644
> --- a/drivers/nvdimm/namespace_devs.c
> +++ b/drivers/nvdimm/namespace_devs.c
> @@ -1532,8 +1532,8 @@ struct nd_namespace_common *nvdimm_namespace_common_probe(struct device *dev)
>
> size = nvdimm_namespace_capacity(ndns);
> if (size < ND_MIN_NAMESPACE_SIZE) {
> - dev_dbg(&ndns->dev, "%pa, too small must be at least %#x\n",
> - &size, ND_MIN_NAMESPACE_SIZE);
> + dev_warn(&ndns->dev, "%pa, too small must be at least %#x\n",
> + &size, ND_MIN_NAMESPACE_SIZE);

This is too noisy as it will fire every time a new namespace is
created since they always start out zero-sized. I'd recommend booting
with libnvdimm.dyndbg on the kernel command or something similar.

\
 
 \ /
  Last update: 2016-12-02 20:46    [W:0.041 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site