linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] block: add tracepoints for ZBD specific operations
@ 2025-07-14 14:38 Johannes Thumshirn
  2025-07-14 14:38 ` [PATCH v2 1/5] blktrace: add zoned block commands to blk_fill_rwbs Johannes Thumshirn
                   ` (4 more replies)
  0 siblings, 5 replies; 22+ messages in thread
From: Johannes Thumshirn @ 2025-07-14 14:38 UTC (permalink / raw)
  To: Jens Axboe
  Cc: linux-block, Damien Le Moal, Christoph Hellwig, Bart Van Assche,
	Johannes Thumshirn

These tracepoints are also the foundation for adding zoned block device
support to blktrace, which will be sent in a follow up.

But even without the immediate support for ZBD operations in blktrace, these
tracepoints have prooven to be effective in debugging issues with filesystems
on zoned block devices.

Changes to v1:
- WARN_ON() overflow of rwbs[] array (Bart)
- Use 'ZRA' for REQ_OP_ZONE_RESET_ALL (Damien)
- Use bio_sector() (Damien)

Link to v1:
https://lore.kernel.org/linux-block/20250709114704.70831-1-johannes.thumshirn@wdc.com

Johannes Thumshirn (5):
  blktrace: add zoned block commands to blk_fill_rwbs
  block: split blk_zone_update_request_bio into two functions
  block: add tracepoint for blk_zone_update_request_bio
  block: add tracepoint for blkdev_zone_mgmt
  block: add trace messages to zone write plugging

 block/blk-mq.c               |  6 ++-
 block/blk-zoned.c            | 23 +++++++++
 block/blk.h                  | 31 ++++++------
 include/trace/events/block.h | 91 +++++++++++++++++++++++++++++++++++-
 kernel/trace/blktrace.c      | 25 ++++++++++
 5 files changed, 156 insertions(+), 20 deletions(-)

-- 
2.50.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2025-07-15  5:39 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14 14:38 [PATCH v2 0/5] block: add tracepoints for ZBD specific operations Johannes Thumshirn
2025-07-14 14:38 ` [PATCH v2 1/5] blktrace: add zoned block commands to blk_fill_rwbs Johannes Thumshirn
2025-07-14 16:32   ` Bart Van Assche
2025-07-14 21:32   ` Bart Van Assche
2025-07-14 22:34   ` Chaitanya Kulkarni
2025-07-14 14:38 ` [PATCH v2 2/5] block: split blk_zone_update_request_bio into two functions Johannes Thumshirn
2025-07-14 16:34   ` Bart Van Assche
2025-07-14 22:36   ` Chaitanya Kulkarni
2025-07-15  5:33   ` Christoph Hellwig
2025-07-14 14:38 ` [PATCH v2 3/5] block: add tracepoint for blk_zone_update_request_bio Johannes Thumshirn
2025-07-14 16:35   ` Bart Van Assche
2025-07-14 22:36   ` Chaitanya Kulkarni
2025-07-15  5:33   ` Christoph Hellwig
2025-07-14 14:38 ` [PATCH v2 4/5] block: add tracepoint for blkdev_zone_mgmt Johannes Thumshirn
2025-07-14 16:35   ` Bart Van Assche
2025-07-14 22:37   ` Chaitanya Kulkarni
2025-07-15  5:33   ` Christoph Hellwig
2025-07-14 14:38 ` [PATCH v2 5/5] block: add trace messages to zone write plugging Johannes Thumshirn
2025-07-14 16:43   ` Bart Van Assche
2025-07-15  5:39     ` Johannes Thumshirn
2025-07-14 17:48   ` Bart Van Assche
2025-07-14 22:38   ` Chaitanya Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).