From: Jonathan Corbet <corbet@lwn.net>
To: Albert Vaca Cintora <albertvaka@gmail.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Updated iostats docs
Date: Fri, 18 Oct 2019 09:49:31 -0600 [thread overview]
Message-ID: <20191018094931.60df486f@lwn.net> (raw)
In-Reply-To: <20191016201337.88554-1-albertvaka@gmail.com>
On Wed, 16 Oct 2019 22:13:37 +0200
Albert Vaca Cintora <albertvaka@gmail.com> wrote:
> revious docs mentioned 11 unsigned long fields, when the reality is that
> we have 15 fields with a mix of unsigned long and unsigned int.
>
> Signed-off-by: Albert Vaca Cintora <albertvaka@gmail.com>
> ---
> Documentation/admin-guide/iostats.rst | 47 ++++++++++++++-------------
> 1 file changed, 24 insertions(+), 23 deletions(-)
I've applied this as an improvement over what's there now, but...
> diff --git a/Documentation/admin-guide/iostats.rst b/Documentation/admin-guide/iostats.rst
> index 5d63b18bd6d1..321aae8d7e10 100644
> --- a/Documentation/admin-guide/iostats.rst
> +++ b/Documentation/admin-guide/iostats.rst
> @@ -46,78 +46,79 @@ each snapshot of your disk statistics.
> In 2.4, the statistics fields are those after the device name. In
> the above example, the first field of statistics would be 446216.
> By contrast, in 2.6+ if you look at ``/sys/block/hda/stat``, you'll
> -find just the eleven fields, beginning with 446216. If you look at
> -``/proc/diskstats``, the eleven fields will be preceded by the major and
> +find just the 15 fields, beginning with 446216. If you look at
> +``/proc/diskstats``, the 15 fields will be preceded by the major and
This document is full of information about the behavior of the 2.4 kernel,
which seems less than fully interesting in 2019. It would be Really Nice
if somebody could go through and simply update this document to current
reality and discard all of the cruft.
Thanks,
jon
prev parent reply other threads:[~2019-10-18 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-16 20:13 [PATCH] Updated iostats docs Albert Vaca Cintora
2019-10-18 15:49 ` Jonathan Corbet [this message]
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=20191018094931.60df486f@lwn.net \
--to=corbet@lwn.net \
--cc=albertvaka@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@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