Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Dan Williams
On Wed, Apr 29, 2015 at 1:49 PM, Linda Knippers wrote: > On 4/29/2015 2:53 PM, Toshi Kani wrote: > What's the right answer for this in the long run? Short term, /dev/disk/by-uuid to take a stable identifier from the contents of the device. Longer term teach udev to populate /dev/disk/by-id with

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Linda Knippers
On 4/29/2015 2:53 PM, Toshi Kani wrote: > On Wed, 2015-04-29 at 11:59 -0700, Dan Williams wrote: >> On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani wrote: >>> Hi Dan, >>> >>> Thanks for the update. This version of the patchset enumerates our NFIT >>> table properly. :-) >>> >>> On Tue, 2015-04-28

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Toshi Kani
On Wed, 2015-04-29 at 11:59 -0700, Dan Williams wrote: > On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani wrote: > > Hi Dan, > > > > Thanks for the update. This version of the patchset enumerates our NFIT > > table properly. :-) > > > > On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: > >> In

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Dan Williams
On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani wrote: > Hi Dan, > > Thanks for the update. This version of the patchset enumerates our NFIT > table properly. :-) > > On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: >> In preparation for the pmem driver attaching to pmem-namespaces emitted >>

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Toshi Kani
Hi Dan, Thanks for the update. This version of the patchset enumerates our NFIT table properly. :-) On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: > In preparation for the pmem driver attaching to pmem-namespaces emitted > by libnd, convert it to use an ida instead of an always

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Toshi Kani
On Wed, 2015-04-29 at 11:59 -0700, Dan Williams wrote: On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani toshi.k...@hp.com wrote: Hi Dan, Thanks for the update. This version of the patchset enumerates our NFIT table properly. :-) On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: In

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Toshi Kani
Hi Dan, Thanks for the update. This version of the patchset enumerates our NFIT table properly. :-) On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: In preparation for the pmem driver attaching to pmem-namespaces emitted by libnd, convert it to use an ida instead of an always increasing

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Dan Williams
On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani toshi.k...@hp.com wrote: Hi Dan, Thanks for the update. This version of the patchset enumerates our NFIT table properly. :-) On Tue, 2015-04-28 at 14:25 -0400, Dan Williams wrote: In preparation for the pmem driver attaching to pmem-namespaces

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Linda Knippers
On 4/29/2015 2:53 PM, Toshi Kani wrote: On Wed, 2015-04-29 at 11:59 -0700, Dan Williams wrote: On Wed, Apr 29, 2015 at 11:25 AM, Toshi Kani toshi.k...@hp.com wrote: Hi Dan, Thanks for the update. This version of the patchset enumerates our NFIT table properly. :-) On Tue, 2015-04-28 at

Re: [Linux-nvdimm] [PATCH v2 10/20] pmem: use ida

2015-04-29 Thread Dan Williams
On Wed, Apr 29, 2015 at 1:49 PM, Linda Knippers linda.knipp...@hp.com wrote: On 4/29/2015 2:53 PM, Toshi Kani wrote: What's the right answer for this in the long run? Short term, /dev/disk/by-uuid to take a stable identifier from the contents of the device. Longer term teach udev to populate

[PATCH v2 10/20] pmem: use ida

2015-04-28 Thread Dan Williams
In preparation for the pmem driver attaching to pmem-namespaces emitted by libnd, convert it to use an ida instead of an always increasing atomic index. This provides a bit of stability to pmem device names in the presence of driver re-bind events. Cc: Christoph Hellwig Signed-off-by: Dan

[PATCH v2 10/20] pmem: use ida

2015-04-28 Thread Dan Williams
In preparation for the pmem driver attaching to pmem-namespaces emitted by libnd, convert it to use an ida instead of an always increasing atomic index. This provides a bit of stability to pmem device names in the presence of driver re-bind events. Cc: Christoph Hellwig h...@lst.de