On 2018-09-21 10:18 a.m., Bjorn Helgaas wrote: > It'd be sort of nice if the contents of the sysfs file were valid > things you could put *back* into it. But it looks like the contents > might be "none", which isn't valid for the store. And the contents > are never "on" or "off". In fact, "none" would be accepted by strtobool() as a false (seeing it starts with 'n' and strtobool() only looks at the first character). However, per the rest of your feedback I've changed show() to report "0", "1" or pci_name() and dropped "auto". This matches what the other strtobool configfs attributes are doing in NVMe target. Logan _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
- [PATCH v6 00/13] Copy Offload in NVMe Fabrics with P2P PCI... Logan Gunthorpe
- [PATCH v6 04/13] PCI/P2PDMA: Introduce configfs/sysfs... Logan Gunthorpe
- Re: [PATCH v6 04/13] PCI/P2PDMA: Introduce config... Bjorn Helgaas
- Re: [PATCH v6 04/13] PCI/P2PDMA: Introduce co... Logan Gunthorpe
- Re: [PATCH v6 04/13] PCI/P2PDMA: Introduce co... Logan Gunthorpe
- Re: [PATCH v6 04/13] PCI/P2PDMA: Introduce config... Bjorn Helgaas
- [PATCH v6 02/13] PCI/P2PDMA: Add sysfs group to displ... Logan Gunthorpe
- Re: [PATCH v6 02/13] PCI/P2PDMA: Add sysfs group ... Bjorn Helgaas
- [PATCH v6 12/13] nvmet: Introduce helper functions to... Logan Gunthorpe
- [PATCH v6 11/13] nvme-pci: Add a quirk for a pseudo C... Logan Gunthorpe
- [PATCH v6 06/13] PCI/P2PDMA: Add P2P DMA driver write... Logan Gunthorpe
- Re: [PATCH v6 06/13] PCI/P2PDMA: Add P2P DMA driv... Bjorn Helgaas
- Re: [PATCH v6 06/13] PCI/P2PDMA: Add P2P DMA ... Logan Gunthorpe
- Re: [PATCH v6 06/13] PCI/P2PDMA: Add P2P ... Bjorn Helgaas
- [PATCH v6 13/13] nvmet: Optionally use PCI P2P memory Logan Gunthorpe
