PROBE::SCSI.IOENTR(3stap)

πŸ’– probe::scsi.ioentry β€” the SCSI mid-layer glow-up πŸ’–

okay bestie, you found a page from the SCSI Tapset, manual section 3stap, and it's literally all about probe::scsi.ioentry β€” the probe that prepares a SCSI mid-layer request. slay. let's get into it πŸŽ€


✨ SYNOPSIS ✨

probe scsi.ioentry {}

that's it. that's the whole thing. no args, no drama, just vibes πŸ¦‹


🌸 VALUES 🌸

these are the little goodies you can peek at inside the probe. the way that each one just exists for you… obsessed πŸ’…

  • device_state β€” the current state of the device. that's the state. right now. present tense, main character energy ✨
  • disk_major β€” the major number of the disk, and if there's no info? it's -1. noted. no cap 🫢
  • device_state_str β€” same current state of the device as above, but as a string this time. one state, two outfits, we love range πŸ’–
  • req_addr β€” the current struct request pointer, but handed to you as a number. that's it. that's the address πŸ”₯
  • disk_minor β€” the minor number of the disk, and again, -1 if there's no information. consistency queen πŸ‘‘

🌈 DESCRIPTION 🌈

okay so this is the part that's actually kind of iconic. the probe keeps every historical prep hook as its own optional alias β€” like a group chat where nobody ever leaves β€” so that RHEL8-era 4.18 still matches, while newer kernels get to use the blk-mq names. everyone's invited. periodt πŸ’€

here's the whole roster:

  • scsi_prep_fn / sd_prep_fn / sr_prep_fn β€” these are the request_fn / blk_queue_prep_rq era, hanging out in v4.18/4.19, and then gone by v5.0. rip bestie 😭
  • scsi_mq_prep_fn β€” the early blk-mq prep name, riding from v4.18 through around 6.x ✨
  • scsi_prepare_cmd β€” the current name, and it's literally the glow-up: renamed from scsi_mq_prep_fn. rebrand of the century πŸ‘‘
so yeah β€” the probe covers all of them, because compatibility is a love language 🫢

πŸ¦‹ SEE ALSO πŸ¦‹

go read that one next, iykyk πŸ’œ


and that's the whole page, fr fr 🌸 this was the SystemTap Tapset Reference, version from September 2026 β€” mwah, take care of yourself, hydrate, and go probe something cute πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from