[RFC] nvme: Fabrics should use the fctype field for data direction

Sagi Grimberg sagi at grimberg.me
Thu Jul 13 00:59:51 PDT 2017


> Interesting.  I wonder how things ever worked without this..
> 
> But the Fabrics multiplexer is a bidi command, so nvme_is_write
> will always return true currently.
> 
> On the host side it only matters for the passthrough ioctls,
> which no one uses for the fabrics commands.
> 
> On the target side this means we always try to copy data in and
> never out, strange.

There is no data-out in any of the fabrics commands.



More information about the Linux-nvme mailing list