Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761915AbYBMLQA (ORCPT ); Wed, 13 Feb 2008 06:16:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755175AbYBMLPs (ORCPT ); Wed, 13 Feb 2008 06:15:48 -0500 Received: from web31808.mail.mud.yahoo.com ([68.142.207.71]:25940 "HELO web31808.mail.mud.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753532AbYBMLPq (ORCPT ); Wed, 13 Feb 2008 06:15:46 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=feVQGi5S2mQ0KGndprAgZDSOy08v0XO1bsl08r8jOn/3H2zRXOv0z9fXEazak2yRntPIJdz9WZnYBDJgX1j+4Ci5EKSFWiEa5YMPhbSHoGh4XHZ3PY35Mx+s22uhK7m1WAvWBFfStp3xywQ8LU+yUFeq7vRtb5zhzk6Lv139vd8=; X-YMail-OSG: igOK340VM1lpARVXGSNYAw.dsb8TPvRcEwGpqDlWqtNHpDcxI4cqS6HGUjZe7P9R5LwDJA-- X-Mailer: YahooMailWebService/0.7.162 Date: Wed, 13 Feb 2008 03:15:41 -0800 (PST) From: Luben Tuikov Reply-To: ltuikov@yahoo.com Subject: Re: [PATCH] enclosure: add support for enclosure services To: kristen.c.accardi@intel.com, James Bottomley Cc: linux-scsi , linux-kernel , linux-ide , jeff@garzik.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <172410.55272.qm@web31808.mail.mud.yahoo.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3289 Lines: 89 --- On Tue, 2/12/08, James Bottomley James.Bottomley@HansenPartnership.com> wrote: > > I understand what you are trying to do - I guess I > just doubt the value > > you've added by doing this. I think that > there's going to be so much > > customization that system vendors will want to add, > that they are going > > to wind up adding a custom library regardless, so > standardising those > > few things won't buy us anything. > > It depends ... if you actually have a use for the > customisations, yes. > If you just want the basics of who (what's in the > enclousure), what > (activity) and where (locate) then I think it solves your > problem almost > entirely. If the kernel doesn't solve it "entirely", then it is better off without the kernel bloat. In fact vendors would distribute their own user-space application(s) to provide a consistent and complete solution(s) of their product(s) to their customer(s). This could also be achieved via "sg_ses", which can also control custom vendor pages if the encodings are known by the customer (which they would be if they purchased the product). > So, entirely as a straw horse, tell me what else your > enclosures provide > that I haven't listed in the four points. You shouldn't insist on this. It should already be clear to you this direction isn't the vendor's preference. > The SES > standards too provide > a huge range of things that no-one ever seems to implement > (temperature, > power, fan speeds etc). Vendors do use "temperature, power and fan speeds" and in fact more features, some of them completely custom for their product, since they end up writing the SES device server of the enclosure themselves (for their product). This kind of control and representation is better left to user-space. The kernel neither needs to represent it nor know about it, since it is itself not using nor controlling it. > I think the users of enclosures fall int these categories This statement (above) really means that the numbers below are but merely the speculation of one person. > > 85% just want to know where their device actually is (i.e. > that sdc is > in enclosure slot 5) > 50% like watching the activity lights > 30% want to be able to have a visual locate function > 20% want a visual failure indication (the other 80% rely on > some OS > notification instead) > > When you add up the overlapping needs, you get about 90% of > people happy > with the basics that the enclosure services provide. 90% doesn't make it a necessary requirement for the kernel to have this, as well as the fact that the kernel is neither needing this to function properly, nor using it. > Could there be more ... sure; should there be more ... I don't think > so ... that's what value add the user libraries can provide. "should there be more ... I don't think so" This decision isn't yours to make. In fact such a decision is never made by one person only. This decision is made by 1) the industry, 2) the customers and 3) vendors by the pricing of their product(s). Luben -- 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/