PROBE::IOBLOCK_TRACE.END(3stap)

πŸ’… NAME

probe::ioblock_trace.end</p> β€” bestie, this probe fires whenever a block I/O transfer is complete. That's it, that's the vibe ✨

This one lives in the 3stap manual, under the IO Scheduler and block IO Taps section, and she is literally the little checkmark at the end of a disk write πŸŽ€


✨ SYNOPSIS ✨

probe ioblock_trace.end {}

no args, no drama, just vibes πŸ¦‹


🌸 VALUES 🌸

okay so when this probe goes off, here's everything you get handed, and every single one of these matters so don't skip any πŸ‘‘

  • size β€” total size in bytes
  • p_start_sect β€” points to the start sector of the partition structure of the device
  • q β€” request queue on which this bio was queued.
  • vcnt β€” bio vector count which represents number of array element (page, offset, length) which makes up this I/O request
  • ino β€” i-node number of the mapped file
  • bytes_done β€” number of bytes transferred
  • name β€” name of the probe point
  • rw β€” binary trace for read/write request
  • flags β€” see below πŸ‘‡
    • BIO_UPTODATE 0 β€” ok after I/O completion
    • BIO_RW_BLOCK 1 β€” RW_AHEAD set, and read/write would block
    • BIO_EOF 2 β€” out-out-bounds error
    • BIO_SEG_VALID 3 β€” nr_hw_seg valid
    • BIO_CLONED 4 β€” doesn't own data
    • BIO_BOUNCED 5 β€” bio is a bounce bio
    • BIO_USER_MAPPED 6 β€” contains user pages
    • BIO_EOPNOTSUPP 7 β€” not supported
  • bdev_contains β€” points to the device object which contains the partition (when bio structure represents a partition)
  • idx β€” offset into the bio vector array phys_segments - number of segments in this bio after physical address coalescing is performed.
  • devname β€” block device name
  • sector β€” beginning sector for the entire bio
  • bdev β€” target block device
  • opf β€” operations and flags
ngl the flags field is giving "read the whole list or perish" energy πŸ’€ the numbers go with the names, keep 'em together, iykyk.

🫢 CONTEXT 🫢

The process signals the transfer is done. periodt πŸ’–


🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” you ate that πŸ“ stay curious, keep tracing, and remember: this came out of the SystemTap Tapset Reference Ver, dated September 2026 (the 3stap girlies stay booked and busy) πŸ’œβœ¨

πŸ“¦ where this page comes from