PROBE::SCSI.IODISP(3stap)

πŸ’… PROBE::SCSI.IODISP πŸ’…

okay bestie, gather round, because we're talking about probe::scsi.iodispatching β€” that's the probe from the SCSI Tapset, and yes it's a 3stap situation, the whole SystemTap manual-page vibe, you know the drill πŸŽ€

It's the SCSI mid-layer dispatched low-level SCSI command probe. That's the moment the mid-layer hands a low-level SCSI command off to the driver. It's giving "the baton pass, but make it kernel" πŸƒβ™€οΈβœ¨


✨ SYNOPSIS ✨

probe scsi.iodispatching {}

that's it. no args. no drama. she just arrives. πŸ’…


🌸 VALUES 🌸

every one of these lil cuties is available to you inside the probe handler, and yes you want all of them:

  • device_state β€” the current state of the device, right now, as we speak 🫢
  • lun β€” the lun number. the logical unit number, bestie, not a moon πŸŒ™
  • device_state_str β€” the current state of the device, but as a string this time. same tea, different cup β˜•
  • channel β€” the channel number πŸ“‘
  • dev_id β€” the scsi device id πŸ”–
  • host_no β€” the host number 🏠
  • data_direction β€” this one's important, so listen up: it specifies whether this command is from/to the device, and it's encoded as 0 (DMA_BIDIRECTIONAL), 1 (DMA_TO_DEVICE), 2 (DMA_FROM_DEVICE), or 3 (DMA_NONE). four little numbers, four whole meanings, no cap πŸ”’
  • req_addr β€” the current struct request pointer, as a number. she's an address, she's a vibe 🧚
  • request_buffer β€” the request buffer address πŸ“
  • request_bufflen β€” the request buffer length πŸ“
  • data_direction_str β€” data direction, as a string. the human-readable remix of data_direction 🌈

πŸ‘€ SEE ALSO πŸ‘€


fr fr, nothing here is deprecated or dangerous, it's just a probe doing her job and doing it well. main character energy, honestly πŸ‘‘

and that's the whole page, bestie!! this came to you courtesy of the SystemTap Tapset Reference, and the date on the tin is September 2026 β€” so if you're reading this from the future, hi, you're doing amazing πŸ’–πŸŒΈβœ¨πŸ¦‹πŸŽ€

πŸ“¦ where this page comes from