On Wed, Sep 05, 2018 at 03:03:18PM -0600, Logan Gunthorpe wrote:
There is no special p2p submission process. In the nvme-of case we
using the existing process and with the code in blk-core it didn't
change it's process at all. Creating a helper will create one and I can
look at making a pci_p2pdma_submit_bio() for v6; but if the developer
screws up and still calls the regular submit_bio() things will only be
very subtly broken and that won't be obvious.
I just saw you added that "helper" in your tree. Please don't, it is
a negative value add as it doesn't help anything with the checking.