From: Stephan Mueller <stepmueller@phys.ethz.ch>
To: linux-xfs@vger.kernel.org
Subject: rw stat clarification
Date: Thu, 01 Oct 2026 15:45:58 +0200 [thread overview]
Message-ID: <4103a3f702be0ccf0e6eeb34981b3d65@phys.ethz.ch> (raw)
Hi there
/sys/fs/xfs/$FS/stats/stats has a counter "rw" showing read and write
call counters. The output is actually
rw #writes #reads // eg first writes, than reads
This is quite confusing (at least for me), when the metric is called
"rw" suggesting first reads, then writes. Also the docs [1] call it "rw
- Read/Write Stats" but then list the fields in the correct order
- xs_write_calls
- xs_read_calls
May I go ahead and make it
rw #reads #writes
or better not break people's scripts and just add a clarification to
docs?
Have a nice day
stephan
[1] https://xfs.org/index.php/Runtime_Stats#rw_-_Read/Write_Stats
next reply other threads:[~2026-10-01 13:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 13:45 Stephan Mueller [this message]
2026-10-01 22:39 ` rw stat clarification Nathan Scott
2026-10-14 13:24 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4103a3f702be0ccf0e6eeb34981b3d65@phys.ethz.ch \
--to=stepmueller@phys.ethz.ch \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox