scsi_try_bus_device_reset(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ scsi_try_bus_device_reset(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” yes this is a section 9 page, yes it's kernel-internal, yes we're still gonna make it cute πŸ’…


✨ NAME ✨

scsi_try_bus_device_reset β€” the "hey bestie, can u do a BDR on this dev for me?" ask πŸ’–

Literally what it says on the tin: you're asking the host to perform a BDR on a dev. No cap.


🌸 SYNOPSIS 🌸

enum scsi_disposition scsi_try_bus_device_reset (struct scsi_cmnd *scmd
);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • scmd β€” the SCSI cmd you use to send the BDR πŸ‘‘ it's the main character here, don't lose it

πŸ’€ NOTES πŸ’€

k so this is the important part, pay attention 🫢

There is no timeout for this operation. Like, none. Zero. Nada. ⭐

if this operation is unreliable for a given host, then the host itself needs to put a timer on it, and set the host back to a consistent state prior to returning. β€” that's on the host, not on you, not on me, not on this function. it's giving "you had one job" energy but fr fr that's the deal 😭

no cap: no timeout means no timeout. if your host is flaky, the host handles the timer and the host restores its own consistent state before it returns. that's the contract, periodt.

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/scsi_error.c β€” plus the whole friend group, in order, no skips:


and that's the whole page, bestie πŸ’œ this one came straight out of ./drivers/scsi, dated October 2026, and it's brought to you by πŸŽ€ scsi_try_bus_device_reset(9) πŸŽ€ β€” go forth and reset responsibly, mwah πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from