[PATCHv3] NVMe: Spliting large i/o in the ioctl path

Christoph Hellwig hch at infradead.org
Mon Apr 27 12:27:07 PDT 2015


On Mon, Apr 27, 2015 at 07:22:29PM +0000, Keith Busch wrote:
> On Mon, 27 Apr 2015, sathyavathi wrote:
> >Keith,
> >
> >Any update on this patch.
> 
> No new comments your implementation. This ioctl is not a critical or
> fast path though, so I'm not sure why we'd force the kernel driver to
> correct a malformed passthru.
> 
> Basically, I'm on the side that if your app misuses the ioctl, you get
> to keep both pieces. Your patch is available if a maintainer disagrees.

Btw, I'll send a patch soon will make the ioctl and SCSI code use the block
layer S/G mapping, which will give us this feature for free.  It might make
sense to hold out for it.  I'll prioritize finishing this one so I can
get it out ASAP.



More information about the Linux-nvme mailing list