Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759018AbZDXMza (ORCPT ); Fri, 24 Apr 2009 08:55:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754866AbZDXMzS (ORCPT ); Fri, 24 Apr 2009 08:55:18 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:39248 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751204AbZDXMzR (ORCPT ); Fri, 24 Apr 2009 08:55:17 -0400 Message-ID: <49F1B68D.3010304@garzik.org> Date: Fri, 24 Apr 2009 08:54:37 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Kay Sievers CC: "Martin K. Petersen" , rwheeler@redhat.com, snitzer@redhat.com, neilb@suse.de, James.Bottomley@hansenpartnership.com, dgilbert@interlog.com, jens.axboe@oracle.com, matthew@wil.cx, linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org, LKML Subject: Re: [PATCH 2 of 9] block: Export I/O topology for block devices and partitions References: <72f4e15760670febdb40.1240551143@sermon.lab.mkp.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.2.5 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1252 Lines: 35 Kay Sievers wrote: > On Fri, Apr 24, 2009 at 07:32, Martin K. Petersen > wrote: >> +What: /sys/block//alignment >> +What: /sys/block///alignment >> +What: /sys/block//queue/minimum_io_size >> +What: /sys/block//queue/optimal_io_size > > Wouldn't it be good to include "sector", like the queue files do? The > alignment of a partition could mean many things. > /sys/block//sector_alignment > /sys/block///sector_alignment > > And prefixing the io values might be easier to read when they show up > in a group? > /sys/block//queue/io_minimum_size > /sys/block//queue/io_optimal_size > /sys/block//queue/io_... Why do we need all this syscall overhead just to read individual data items? Isn't it dumb to require 30 userland syscalls simply to input a 10-member data structure? netlink looks more and more attractive for anything non-trivial. Jeff -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/