All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: "\"Kai Mäkisara (Kolumbus)\"" <kai.makisara@kolumbus.fi>
Cc: Laurence Oberman <loberman@redhat.com>,
	Laurence Oberman <oberman.l@gmail.com>,
	Shane M Seymour <shane.seymour@hp.com>,
	linux-scsi@vger.kernel.org, jeffm@suse.com
Subject: Re: [PATCH] st: implement sysfs based tape statistics v2
Date: Thu, 05 Feb 2015 10:43:40 -0800	[thread overview]
Message-ID: <1423161820.5848.14.camel@HansenPartnership.com> (raw)
In-Reply-To: <E267A9CB-6A91-4DD6-9BEE-D0DC6C048B07@kolumbus.fi>

On Thu, 2015-02-05 at 19:46 +0200, "Kai Mäkisara (Kolumbus)" wrote:
> > On 5.2.2015, at 19.40, Laurence Oberman <loberman@redhat.com> wrote:
> > I missed the earlier conversations with James, I will go search for them.
> > Do you mean add them so they are similar to the /proc/diskstats
> > 
> > cat /proc/diskstats
> > ..
> >   8       0 sda 2258346 152801 291907067 5263795 388817 1518048 15013833 4542062 0 4794931 9803495
> >   8       1 sda1 717 102 26154 1179 8 2 80 76 0 1172 1254
> >   8       2 sda2 328 31 2872 1554 0 0 0 0 0 1554 1554
> >   8       3 sda3 2195205 151617 290898283 5203627 355053 1518046 15009528 4370598 0 4594137 9571937
> >   8       4 sda4 61921 1050 978350 57218 18 0 4225 34 0 56384 57185
> >  11       0 sr0 0 0 0 0 0 0 0 0 0 0 0
> > ..
> > 
> Not exactly. I mean the data exported in sysfs, for example:
> 
> > cat /sys/block/sda/sda1/stat
>   159740     9006  5941506    64461   124724    55907 12772208  3598677        0   299875  3663235

The problem is we're going to be attacked by the sysfs one value per
file crowd if we do something like this.  Block gets away with it
because it was grandfathered in.  It's only 12 files ... if there's a
good reason for having the fight with the sysfs people, we can; however,
I haven't seen a good reason yet, so I'd rather avoid creating a fuss
over something we're going to lose.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2015-02-05 18:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13  3:43 [PATCH] st: implement sysfs based tape statistics v2 Seymour, Shane M
2015-01-27  0:11 ` Seymour, Shane M
2015-02-06 17:49   ` Jeremy Linton
2015-02-02 15:16 ` Laurence Oberman
2015-02-05 17:03   ` "Kai Mäkisara (Kolumbus)"
2015-02-05 17:40     ` Laurence Oberman
2015-02-05 17:46       ` "Kai Mäkisara (Kolumbus)"
2015-02-05 18:12         ` Laurence Oberman
2015-02-05 18:43         ` James Bottomley [this message]
2015-02-05 18:50         ` Bryn M. Reeves
2015-02-05 18:55           ` James Bottomley
2015-02-05 18:57             ` Bryn M. Reeves
2015-02-08 17:07 ` Dale R. Worley
2015-02-08 23:19   ` Seymour, Shane M
2015-02-11  3:38     ` Dale R. Worley
2015-02-09  6:00   ` Seymour, Shane M
2015-02-09 19:14     ` "Kai Mäkisara (Kolumbus)"

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=1423161820.5848.14.camel@HansenPartnership.com \
    --to=james.bottomley@hansenpartnership.com \
    --cc=jeffm@suse.com \
    --cc=kai.makisara@kolumbus.fi \
    --cc=linux-scsi@vger.kernel.org \
    --cc=loberman@redhat.com \
    --cc=oberman.l@gmail.com \
    --cc=shane.seymour@hp.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.