PROBE::IOBLOCK_TRACE.BOUNCE(3stap)

πŸ’– PROBE::IOBLOCK_TRACE.BOUNCE πŸ’–

okay bestie, gather round, because we're reading a SystemTap Tapset Reference page β€” that's the 3stap manual, section 3, tapset pages β€” and this one is filed under IO Scheduler and block IO Taps. It's giving kernel-nerd royalty, no cap. πŸ‘‘


✨ NAME ✨

probe::ioblock_trace.bounce β€” fires whenever a buffer bounce is needed for at least one page of a block IO request.

literally the moment the kernel is like "hm, this buffer needs to bounce" and it happens for even one single page of a block IO request. one page. that's all it takes. πŸ’…


🌸 SYNOPSIS 🌸

probe ioblock_trace.bounce {}

that's it. no arguments, no nothing. she's lowkey minimalist. πŸŽ€


πŸ¦‹ VALUES πŸ¦‹

all the little goodies this probe hands you when she fires:

  • q β€” the request queue on which this bio was queued.
  • size β€” total size in bytes.
  • p_start_sect β€” points to the start sector of the partition structure of the device.
  • ino β€” i-node number of the mapped file.
  • bytes_done β€” number of bytes transferred.
  • name β€” name of the probe point.
  • vcnt β€” bio vector count, which represents the number of array elements (page, offset, length) that make up this I/O request.
  • bdev_contains β€” points to the device object which contains the partition (when the bio structure represents a partition).
  • devname β€” device for which a buffer bounce was needed.
  • idx β€” offset into the bio vector array phys_segments - number of segments in this bio after physical address coalescing is performed.
  • sector β€” beginning sector for the entire bio.
  • 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 β€” target block device.
  • opf β€” operations and flags.
ok the flags bit is a whole mood board of bio states β€” memorise those numbers, bestie, they're doing numbers. πŸ”₯

πŸ’œ CONTEXT πŸ’œ

The process creating a block IO request.

(yes, that's the whole thing. she's concise. main character energy.) ✨


🌈 SEE ALSO 🌈


and that's the whole page, periodt. this was SystemTap Tapset Reference, Version, September 2026 β€” so like, mark your calendar, it's a whole era. πŸ«ΆπŸ’–πŸŒΈ

πŸ“¦ where this page comes from