Re: [PATCH v4 12/16] libnvdimm, nfit: enable support for volatile ranges
From: Dan Williams
Date: Wed Jul 05 2017 - 22:09:13 EST
[ adding Jeff, and Johannes ]
On Wed, Jul 5, 2017 at 6:17 PM, Kani, Toshimitsu <toshi.kani@xxxxxxx> wrote:
> On Wed, 2017-07-05 at 17:07 -0700, Dan Williams wrote:
>> We have symlinks in /dev/disk/by* to make it easier to identify
>> storage devices, I think it makes sense to add udev rules for
>> identifying volatile pmem and not try to differentiate this in the
>> default kernel device name.
> I am not sure what might be a good way, but I am concerned because a
> single block device naming do not represent both volatile and
> persistent media today.
We do have time to changes this if we find out this is critical. Maybe
it's best to ask Linux distro folks what would be easier for them?
Jeff, Johannes, any thoughts on whether we should produce a
"/dev/vmemX" device when we know the backing memory range is volatile?
In this patch everything shows up as /dev/pmemX and you need to look
elsewhere in sysfs to find that the memory range is defined as
volatile by the NFIT.