* [PATCH] doc: update RWBS descriptions
@ 2024-11-23 20:40 Stefan Hajnoczi
2025-01-14 14:47 ` Jeff Moyer
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Hajnoczi @ 2024-11-23 20:40 UTC (permalink / raw)
To: linux-btrace; +Cc: Jens Axboe, Stefan Hajnoczi
Barriers no longer exist but a number of other flags have been added.
Document them.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
doc/blkparse.1 | 34 +++++++++++++++++++++++++++++++---
doc/blktrace.tex | 20 +++++++++++++++++---
2 files changed, 48 insertions(+), 6 deletions(-)
diff --git a/doc/blkparse.1 b/doc/blkparse.1
index 4c26baf..722efff 100644
--- a/doc/blkparse.1
+++ b/doc/blkparse.1
@@ -435,10 +435,38 @@ Split
.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 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 --git a/doc/blktrace.tex b/doc/blktrace.tex
index 836ac4a..6a33fb6 100644
--- a/doc/blktrace.tex
+++ b/doc/blktrace.tex
@@ -653,9 +653,23 @@ X & Split \\ \hline
\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
+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}
--
2.47.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] doc: update RWBS descriptions
2024-11-23 20:40 [PATCH] doc: update RWBS descriptions Stefan Hajnoczi
@ 2025-01-14 14:47 ` Jeff Moyer
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Moyer @ 2025-01-14 14:47 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: linux-btrace, Jens Axboe
Stefan Hajnoczi <stefanha@redhat.com> writes:
> Barriers no longer exist but a number of other flags have been added.
> Document them.
It's possible to run the tool against older kernels, so perhaps we
should keep a note about barriers at the end of the man page.
Aside from that, this looks fine to me.
-Jeff
>
> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
> doc/blkparse.1 | 34 +++++++++++++++++++++++++++++++---
> doc/blktrace.tex | 20 +++++++++++++++++---
> 2 files changed, 48 insertions(+), 6 deletions(-)
>
> diff --git a/doc/blkparse.1 b/doc/blkparse.1
> index 4c26baf..722efff 100644
> --- a/doc/blkparse.1
> +++ b/doc/blkparse.1
> @@ -435,10 +435,38 @@ Split
>
> .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 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 --git a/doc/blktrace.tex b/doc/blktrace.tex
> index 836ac4a..6a33fb6 100644
> --- a/doc/blktrace.tex
> +++ b/doc/blktrace.tex
> @@ -653,9 +653,23 @@ X & Split \\ \hline
> \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
> +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}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-14 14:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-23 20:40 [PATCH] doc: update RWBS descriptions Stefan Hajnoczi
2025-01-14 14:47 ` Jeff Moyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox