Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758829AbXEQRdV (ORCPT ); Thu, 17 May 2007 13:33:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756400AbXEQRdA (ORCPT ); Thu, 17 May 2007 13:33:00 -0400 Received: from kanga.kvack.org ([66.96.29.28]:57793 "EHLO kanga.kvack.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756935AbXEQRc7 (ORCPT ); Thu, 17 May 2007 13:32:59 -0400 Date: Thu, 17 May 2007 13:32:38 -0400 From: Benjamin LaHaise To: Satyam Sharma Cc: Matthew Wilcox , Simon Arlott , James Bottomley , Dave Jones , Linux Kernel Mailing List , linux-scsi@vger.kernel.org, kernel-packagers@vger.kernel.org, "Robert P. J. Day" Subject: sysfs makes scaling suck Re: Asynchronous scsi scanning Message-ID: <20070517173238.GA30571@kvack.org> References: <1179153096.3703.23.camel@mulgrave.il.steeleye.com> <17841.simon.1179228389@5ec7c279.invalid> <20070515120228.GI10562@parisc-linux.org> <4649E03A.1090004@simon.arlott.org.uk> <20070515172905.GJ10562@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 927 Lines: 22 On Wed, May 16, 2007 at 04:57:52AM +0530, Satyam Sharma wrote: > > echo 1 > /sys/module/scsi_mod/.../wait_for_async_scans > > somewhere in some script. In fact, the latter method seems simpler, > saner, better (in every which way)! Please don't force sysfs on people. Just watch how it keels over and dies when you end up with lots of disks/network interfaces on reasonably sized boxes. 16 statically allocated files per network interface starts being a problem once you've got a few thousand interfaces. Anything that forces me to use sysfs is not gonna fly. -ben -- "Time is of no importance, Mr. President, only life is important." Don't Email: . - 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/