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


Groups > linux.kernel > #1172540

Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices

From Toshi Kani <toshi.kani@hp.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices
Date 2015-06-26 03:30 +0200
Message-ID <pFqCT-JB-5@gated-at.bofh.it> (permalink)
References (8 earlier) <pFnYm-5mM-19@gated-at.bofh.it> <pFohI-5Jn-13@gated-at.bofh.it> <pFp46-6SH-7@gated-at.bofh.it> <pFq9Q-8op-9@gated-at.bofh.it> <pFqjw-nj-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 2015-06-25 at 18:08 -0700, Dan Williams wrote:
> On Thu, Jun 25, 2015 at 5:55 PM, Toshi Kani <toshi.kani@hp.com> wrote:
> > On Thu, 2015-06-25 at 23:42 +0000, Williams, Dan J wrote:
> >> On Thu, 2015-06-25 at 16:55 -0600, Toshi Kani wrote:
 :
> >
> > Now, how do I unbind BTT?  I did the following as a guess, but BTT got
> > reattached again before I have a chance to delete the metadata, which I
> > need /dev/pmemN.
> >
> > NUM=1
> > cd /sys/bus/nd/devices
> > echo ""  > btt${NUM}.1/namespace
> > echo btt${NUM}.1 > ../drivers/nd_pmem/unbind
> 
> echo 1 > namespace${NUM}.0/force_raw
> 
> > echo namespace${NUM}.0 > ../drivers/nd_pmem/bind
> >

Cool!  Yes, it works with the force_raw.  (I changed the ordering a
bit).

NUM=1
cd /sys/bus/nd/devices
echo btt${NUM}.1 > ../drivers/nd_pmem/unbind
echo "" > btt${NUM}.1/namespace
echo 1 > namespace${NUM}.0/force_raw
echo namespace${NUM}.0 > ../drivers/nd_pmem/bind

Thanks,
-Toshi


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Dan Williams <dan.j.williams@intel.com> - 2015-06-25 11:50 +0200
  Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Dan Williams <dan.j.williams@intel.com> - 2015-06-25 23:40 +0200
    Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Toshi Kani <toshi.kani@hp.com> - 2015-06-26 00:00 +0200
      Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Dan Williams <dan.j.williams@intel.com> - 2015-06-26 00:10 +0200
        Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Toshi Kani <toshi.kani@hp.com> - 2015-06-26 00:20 +0200
          Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Dan Williams <dan.j.williams@intel.com> - 2015-06-26 00:40 +0200
            Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Toshi Kani <toshi.kani@hp.com> - 2015-06-26 01:00 +0200
              Re: [PATCH v2 15/17] libnvdimm: Set numa_node to NVDIMM devices Toshi Kani <toshi.kani@hp.com> - 2015-06-26 03:30 +0200

csiph-web