Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1735299

Re: [PATCH 2/2] libnvdimm, namespace: fix btt claim class crash

From Dan Williams <dan.j.williams@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] libnvdimm, namespace: fix btt claim class crash
Date 2017-09-20 00:20 +0200
Message-ID <urz21-2JM-13@gated-at.bofh.it> (permalink)
References <urwQy-1e6-13@gated-at.bofh.it> <urwQz-1e6-37@gated-at.bofh.it> <urySl-2Ga-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Sep 19, 2017 at 3:06 PM, Saldivar, Maurice A.
<maurice.a.saldivar@hpe.com> wrote:
> I applied this and the kernel patch and was successfully able to
> configure an NVDIMM-N into sector mode. I do have a question about
> specific behavior I observed. Before I was able to configure an NVDIMM
> into any mode from any mode. With these patchs if I go to sector mode
> and try going to memory or dax mode it fails with:
>
> # ndctl create-namespace -f -e namespace0.0 -m memory
>   Error: namespace0.0: sector_size: 4096 not supported
> failed to reconfigure namespace: Invalid argument
>
> but if I go sector->raw-><mode> I can get into other modes fine. Was
> this the intended behavior?
>

Nope, that's another bug. I'll fix that up.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] tools/testing/nvdimm: disable labels for nfit_test.1 Dan Williams <dan.j.williams@intel.com> - 2017-09-19 22:00 +0200
  [PATCH 2/2] libnvdimm, namespace: fix btt claim class crash Dan Williams <dan.j.williams@intel.com> - 2017-09-19 22:00 +0200
    Re: [PATCH 2/2] libnvdimm, namespace: fix btt claim class crash "Saldivar, Maurice A." <maurice.a.saldivar@hpe.com> - 2017-09-20 00:10 +0200
      Re: [PATCH 2/2] libnvdimm, namespace: fix btt claim class crash Dan Williams <dan.j.williams@intel.com> - 2017-09-20 00:20 +0200

csiph-web