[RFC 1/8] Introduce Peer-to-Peer memory (p2pmem) device
Logan Gunthorpe
logang at deltatee.com
Fri Mar 31 14:23:26 PDT 2017
On 31/03/17 12:49 PM, Sinan Kaya wrote:
> Don't you need to clean up the p->pool here.
See Patch 7 in the series.
>> + put_device(&p->dev);
>> +}
>> +EXPORT_SYMBOL(p2pmem_unregister);
>> +
>
> I don't like the ugliness around the switch port to be honest.
>
> Going to whitelist/blacklist looks simpler in my opinion.
What exactly would you white/black list? It can't be the NIC or the
disk. If it's going to be a white/black list on the switch or root port
then you'd need essentially the same code to ensure they are all behind
the same switch or root port. So you could add a white/black list on top
of the current scheme but you couldn't get rid of it.
Our original plan was to just punt the decision to userspace but we had
pushback on that at LSF.
Thanks,
Logan
More information about the Linux-nvme
mailing list