On Tue, Jun 17, 2025 at 10:36:06AM +0800, Ming Lei wrote: [full quote deleted, please fix your mailer] > > ublk_cmd_list_tw_cb() doesn't need a doubly-linked list. It should be > > fine to continue storing just the first struct request * of the list > > in struct ublk_uring_cmd_pdu. That would avoid growing > > ublk_uring_cmd_pdu past the 32-byte limit. > > Agree. > > ublk needn't re-order, and doubly-linked list is useless here. No driver needs to reorder, it just needs to consume the list passed to it, for which using list_cut_before is really useful. Just passing it on would be optimal, but if that can't work the frankenlist proposed by Caleb might work.