ata_scsi_hotplug(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

ata_scsi_hotplug β€” SCSI part of hotplug.

okay so bestie, this is the ata_scsi_hotplug(9) page from the Kernel API Manual πŸ’… it's giving kernel-internals main character energy, and we're gonna get into it. πŸ¦‹


✨ SYNOPSIS ✨

void ata_scsi_hotplug (struct work_struct *work );

🫢 ARGUMENTS 🫢

  • work β€” Pointer to ATA port to perform SCSI hotplug on. Like, that's the ATA port we're doing the SCSI hotplug for, bestie. πŸŽ€

πŸ’… DESCRIPTION πŸ’…

Listen: this function performs the SCSI part of hotplug. It's executed from a separate workqueue after EH completes. This is necessary because SCSI hot plugging requires working EH and hot unplugging is synchronized with hot plugging with a mutex. No cap, that's the whole reason β€” it's not just out here doing side quests for fun. ✨

LOCKING: Kernel thread context (may sleep). So yes, it can sleep β€” it's not one of those "do not block, ever" situations. 😴


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ β€” footer vibe check: source ./drivers/ata, date October 2026, page ata_scsi_hotplug(9), Kernel API Manual. That's the sign-off, bestie β€” periodt. 🌈

πŸ“¦ where this page comes from