Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package blktrace for openSUSE:Factory checked in at 2025-08-27 21:35:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blktrace (Old) and /work/SRC/openSUSE:Factory/.blktrace.new.30751 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blktrace" Wed Aug 27 21:35:54 2025 rev:39 rq:1301596 version:1.3.0+git.20250320 Changes: -------- --- /work/SRC/openSUSE:Factory/blktrace/blktrace.changes 2024-02-22 21:01:25.309537572 +0100 +++ /work/SRC/openSUSE:Factory/.blktrace.new.30751/blktrace.changes 2025-08-27 21:36:49.644063472 +0200 @@ -1,0 +2,10 @@ +Wed Aug 27 00:00:00 CEST 2025 - dste...@suse.cz + +- Update to version 1.3.0+git.20250320: + * blkparse: Fix a potential coredump issue + * doc: update RWBS descriptions + * iowatcher: Calculate ios_in_flight per trace + * fix hang when BLKTRACESETUP fails and "-o -" is used + * doc: btrace: fix wrong format on doc + +------------------------------------------------------------------- Old: ---- blktrace-1.3.0+git.20211021.tar.xz New: ---- blktrace-1.3.0+git.20250320.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blktrace.spec ++++++ --- /var/tmp/diff_new_pack.Th7i7i/_old 2025-08-27 21:36:50.132083846 +0200 +++ /var/tmp/diff_new_pack.Th7i7i/_new 2025-08-27 21:36:50.136084014 +0200 @@ -1,7 +1,7 @@ # # spec file for package blktrace # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{!?_without_docs: %global with_docs 1} Name: blktrace -Version: 1.3.0+git.20211021 +Version: 1.3.0+git.20250320 Release: 0 Summary: Block IO tracer License: GPL-2.0-only ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Th7i7i/_old 2025-08-27 21:36:50.176085684 +0200 +++ /var/tmp/diff_new_pack.Th7i7i/_new 2025-08-27 21:36:50.180085850 +0200 @@ -3,6 +3,6 @@ <param name="url">git://git.kernel.dk/blktrace.git</param> <param name="changesrevision">70d5ca2d5f3d6b97c11c641b7e0c5836983219a0</param></service><service name="tar_scm"> <param name="url">https://git.kernel.dk/blktrace.git</param> - <param name="changesrevision">7f5d2c5173d72018aa29c583c9291ef10abaf8df</param></service></servicedata> + <param name="changesrevision">f9bd00dfbd67ce62ca6df6f55d6275b523cd0b39</param></service></servicedata> (No newline at EOF) ++++++ blktrace-1.3.0+git.20211021.tar.xz -> blktrace-1.3.0+git.20250320.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/blkparse.c new/blktrace-1.3.0+git.20250320/blkparse.c --- old/blktrace-1.3.0+git.20211021/blkparse.c 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/blkparse.c 2025-03-20 12:06:40.000000000 +0100 @@ -1022,7 +1022,7 @@ if (!iot) { struct io_track_req *req; - req = malloc(sizeof(*req) + sizeof(*iot)); + req = calloc(1, sizeof(*req) + sizeof(*iot)); req->ppm = find_ppm(pid); if (!req->ppm) req->ppm = add_ppm_hash(pid, "unknown"); @@ -1106,7 +1106,7 @@ * parts. */ iot = find_track(pdi, t->pid, t->sector); - split = malloc(sizeof(*iot)); + split = calloc(1, sizeof(*iot)); split->req = iot->req; split->next = iot->next; iot->next = split; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/blktrace.c new/blktrace-1.3.0+git.20250320/blktrace.c --- old/blktrace-1.3.0+git.20211021/blktrace.c 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/blktrace.c 2025-03-20 12:06:40.000000000 +0100 @@ -2684,8 +2684,10 @@ if (net_mode == Net_client) printf("blktrace: connecting to %s\n", hostname); - if (setup_buts()) + if (setup_buts()) { + done = 1; return 1; + } if (use_tracer_devpaths()) { if (setup_tracer_devpaths()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/doc/blkparse.1 new/blktrace-1.3.0+git.20250320/doc/blkparse.1 --- old/blktrace-1.3.0+git.20211021/doc/blkparse.1 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/doc/blkparse.1 2025-03-20 12:06:40.000000000 +0100 @@ -435,10 +435,41 @@ .SH "RWBS DESCRIPTION" -This is a small string containing at least one character ('R' for read, 'W' -for write, or 'D' for block discard operation), and optionally either -a 'B' (for barrier operations) or 'S' (for synchronous operations). +This is a small string containing characters in the following order: +.IP F +Flush + +.IP R +Read + +.IP W +Write + +.IP D +Discard + +.IP B +Barrier + +.IP N +Other operation + +.IP F +Force Unit Access (FUA) + +.IP A +Readahead + +.IP S +Synchronous + +.IP M +Meta + +.PP +One of 'R', 'W', 'D', or 'N' is always present. The other characters are +optional. Note that 'F' has two meanings, depending on its position. .SH "DEFAULT OUTPUT" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/doc/blktrace.tex new/blktrace-1.3.0+git.20250320/doc/blktrace.tex --- old/blktrace-1.3.0+git.20211021/doc/blktrace.tex 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/doc/blktrace.tex 2025-03-20 12:06:40.000000000 +0100 @@ -653,9 +653,24 @@ \end{tabular} \subsubsection{\label{sec:act-table}RWBS Description} -This is a small string containing at least one character ('R' for read, -'W' for write, or 'D' for block discard operation), and optionally either -a 'B' (for barrier operations) or 'S' (for synchronous operations). +This is a small string containing characters in the following order: + +\begin{tabular}{|l|l|}\hline +Character & Description \\ \hline\hline +F & Flush \\ \hline +R & Read \\ \hline +W & Write \\ \hline +D & Discard \\ \hline +B & Barrier \\ \hline +N & Other operation \\ \hline +F & Force Unit Access (FUA) \\ \hline +A & Readahead \\ \hline +S & Synchronous \\ \hline +M & Meta \\ \hline +\end{tabular} + +One of 'R', 'W', 'D', or 'N' is always present. The other characters are +optional. Note that 'F' has two meanings, depending on its position. \subsubsection{\label{sec:default-output}Default output} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/doc/btrace.8 new/blktrace-1.3.0+git.20250320/doc/btrace.8 --- old/blktrace-1.3.0+git.20211021/doc/btrace.8 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/doc/btrace.8 2025-03-20 12:06:40.000000000 +0100 @@ -6,7 +6,7 @@ .SH SYNOPSIS -.B btrace [\-s] [\-t] [\-w \fIN\fN] [\-n \fIN\fR] [\-b \fIN\fR] [\-r \fI<dbg mnt>\fR] [\-a <\fItrace\fR>...] <\fIdev\fR>... +.B btrace [\-s] [\-t] [\-w \fIN\fR] [\-n \fIN\fR] [\-b \fIN\fR] [\-r \fI<dbg mnt>\fR] [\-a <\fItrace\fR>...] <\fIdev\fR>... .br diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/iowatcher/blkparse.c new/blktrace-1.3.0+git.20250320/iowatcher/blkparse.c --- old/blktrace-1.3.0+git.20211021/iowatcher/blkparse.c 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/iowatcher/blkparse.c 2025-03-20 12:06:40.000000000 +0100 @@ -41,7 +41,6 @@ #define IO_HASH_TABLE_BITS 11 #define IO_HASH_TABLE_SIZE (1 << IO_HASH_TABLE_BITS) static struct list_head io_hash_table[IO_HASH_TABLE_SIZE]; -static u64 ios_in_flight = 0; #define PROCESS_HASH_TABLE_BITS 7 #define PROCESS_HASH_TABLE_SIZE (1 << PROCESS_HASH_TABLE_BITS) @@ -1037,8 +1036,8 @@ return; } if (action == __BLK_TA_REQUEUE) { - if (ios_in_flight > 0) - ios_in_flight--; + if (trace->ios_in_flight > 0) + trace->ios_in_flight--; return; } if (action != __BLK_TA_ISSUE) @@ -1054,10 +1053,10 @@ } account_io: - ios_in_flight++; + trace->ios_in_flight++; seconds = SECONDS(io->time); - gld->data[seconds].sum += ios_in_flight; + gld->data[seconds].sum += trace->ios_in_flight; gld->data[seconds].count++; avg = (double)gld->data[seconds].sum / gld->data[seconds].count; @@ -1088,8 +1087,8 @@ if (!pio) return; - if (ios_in_flight > 0) - ios_in_flight--; + if (trace->ios_in_flight > 0) + trace->ios_in_flight--; if (io->time >= pio->dispatch_time) { latency = io->time - pio->dispatch_time; latency_gld->data[seconds].sum += latency; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blktrace-1.3.0+git.20211021/iowatcher/blkparse.h new/blktrace-1.3.0+git.20250320/iowatcher/blkparse.h --- old/blktrace-1.3.0+git.20211021/iowatcher/blkparse.h 2021-10-21 16:45:17.000000000 +0200 +++ new/blktrace-1.3.0+git.20250320/iowatcher/blkparse.h 2025-03-20 12:06:40.000000000 +0100 @@ -57,6 +57,7 @@ int mpstat_fd; int mpstat_seconds; int mpstat_num_cpus; + u64 ios_in_flight; char *fio_start; char *fio_cur;