mbox series

[PATCHSET,0/2] Sanitize request setup

Message ID 20240316173104.577959-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Sanitize request setup | expand

Message

Jens Axboe March 16, 2024, 5:29 p.m. UTC
Hi,

Just two minor patches, one ensuring the networking side preps anything
in req->cmd upfront (more of a cleanup to be nice), and one fixing
calling into ->fail() if prep hasn't been run yet. The nice thing about
patch 2 is that it moves the error stuff mostly ouside of the
io_init_req() hot path, and as a result reduces the text size by 232 bytes.