[PATCH v9 06/11] io_uring: introduce attributes for read/write and PI support
Christoph Hellwig
hch at lst.de
Mon Nov 18 04:50:29 PST 2024
On Sat, Nov 16, 2024 at 12:32:25AM +0000, Pavel Begunkov wrote:
> We can also reuse your idea from your previous iterations and
> use the bitmap to list all attributes. Then preamble and
> the explicit attr_type field are not needed, type checking
> in the loop is removed and packing is better. And just
> by looking at the map we can calculate the size of the
> array and remove all size checks in the loop.
Can we please stop overdesigning the f**k out of this? Really,
either we're fine using the space in the extended SQE, or
we're fine using a separate opcode, or if we really have to just
make it uring_cmd. But stop making thing being extensible for
the sake of being extensible.
More information about the Linux-nvme
mailing list