linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] implementing tape statistics single file vs multi-file in sysfs
@ 2015-02-06  0:20 Seymour, Shane M
       [not found] ` <DDB9C85B850785449757F9914A034FCB3BF3EADA-4I1V4pQFGigSZAcGdq5asR6epYMZPwEe5NbjCUgZEJk@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Seymour, Shane M @ 2015-02-06  0:20 UTC (permalink / raw)
  To: linux-api@vger.kernel.org, linux-scsi@vger.kernel.org
  Cc: Kai.Makisara@kolumbus.fi,
	James E.J. Bottomley (JBottomley@parallels.com),
	Laurence Oberman (loberman@redhat.com)

Hello linux-api'ers

There has been some ongoing discussion about the best way to implement tape statistics. The original method suggested a long time ago used a single file in sysfs similar to block statistics in sysfs. That lead to an impass about the code on the linux-scsi mailing list.

The sysfs documentation says that files should contain one item per file (with some small exceptions):

> "Attributes should be ASCII text files, preferably with only one value
> per file. It is noted that it may not be efficient to contain only one
> value per file, so it is socially acceptable to express an array of
> values of the same type."

The current patch that implements tape statistics is here:

http://marc.info/?l=linux-scsi&m=142112067313723&w=2

Recently there was was another discussion here about one file vs a collection of files for tape statistics:

http://marc.info/?l=linux-scsi&m=142316255501550&w=2

The result was that I should ask here what method I should use. I would like to get feedback in relation to tape statistics and one file vs multi-file in sysfs. I'm happy to keep the existing code or change to a single file approach.

Thanks
Shane

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2015-02-11 11:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06  0:20 [RFC] implementing tape statistics single file vs multi-file in sysfs Seymour, Shane M
     [not found] ` <DDB9C85B850785449757F9914A034FCB3BF3EADA-4I1V4pQFGigSZAcGdq5asR6epYMZPwEe5NbjCUgZEJk@public.gmane.org>
2015-02-06  9:13   ` Bryn M. Reeves
     [not found]     ` <20150206091354.GA1143-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-02-06 13:01       ` Greg KH
2015-02-06 12:59   ` Greg KH
     [not found]     ` <20150206125916.GB26247-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-02-06 15:41       ` Bryn M. Reeves
2015-02-07  4:07         ` Greg KH
2015-02-08  2:27           ` Laurence Oberman
2015-02-08  2:45             ` Greg KH
2015-02-08  8:32               ` "Kai Mäkisara (Kolumbus)"
     [not found]               ` <20150208024506.GC15396-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-02-08 17:35                 ` James Bottomley
     [not found]           ` <20150207040743.GB29944-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2015-02-10 14:27             ` Bryn M. Reeves
     [not found]               ` <20150210142719.GA1437-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2015-02-10 22:30                 ` Greg KH
2015-02-11 11:32                   ` Bryn M. Reeves

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).