[PATCH v9 06/11] io_uring: introduce attributes for read/write and PI support

Anuj gupta anuj1072538 at gmail.com
Fri Nov 15 05:29:11 PST 2024


On Thu, Nov 14, 2024 at 5:46 PM Christoph Hellwig <hch at lst.de> wrote:
>
> On Thu, Nov 14, 2024 at 04:15:12PM +0530, Anuj Gupta wrote:
> > PI attribute is supported only for direct IO. Also, vectored read/write
> > operations are not supported with PI currently.
>
> Eww.  I know it's frustration for your if maintainers give contradicting
> guidance, but this is really an awful interface.  Not only the pointless
> indirection which make the interface hard to use, but limiting it to
> not support vectored I/O makes it pretty useless.
>

The check added in this patch returning failure for vectored-io is a
mistake. The application can prepare protection information for vectored
read/write and send. So vectored-io works with the current patchset.
I just need to remove the check in this patch.



More information about the Linux-nvme mailing list