scsi_rq_err_bytes(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the scsi_rq_err_bytes(9) page in the Kernel API Manual β€” yes, that one β€” and it’s literally here to determine number of bytes till the next failure boundary. That’s the whole name, no cap: scsi_rq_err_bytes β€” determine number of bytes till the next failure boundary. Obsessed with the clarity. πŸŽ€

πŸ’« SYNOPSIS πŸ’«

unsigned int scsi_rq_err_bytes (const struct request *rq );

πŸŽ€ ARGUMENTS πŸŽ€

  • rq β€” the request to examine. give it a lil look πŸ‘€

πŸ¦‹ DESCRIPTION πŸ¦‹

A request could be a merge of IOs, and those IOs can require different failure handling β€” lowkey a group project with different vibes. This function determines the number of bytes which can be failed from the beginning of the request without crossing into area which need to be retried further. So it’s the vibe check for the failure boundary, fr fr. ✨

⭐ RETURN ⭐

The number of bytes to fail. That’s it, that’s the return value, and it ate. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/scsi/scsi_lib.c β€” and then the whole friend group, all iconique, all exact:

xoxo πŸ’œ β€” source/version: ./drivers/scsi; date: October 2026; manual page: scsi_rq_err_bytes(9). 🫢

πŸ“¦ where this page comes from