Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbXA3AQu (ORCPT ); Mon, 29 Jan 2007 19:16:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752103AbXA3AQu (ORCPT ); Mon, 29 Jan 2007 19:16:50 -0500 Received: from hancock.steeleye.com ([71.30.118.248]:34130 "EHLO hancock.sc.steeleye.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750983AbXA3AQt (ORCPT ); Mon, 29 Jan 2007 19:16:49 -0500 Subject: Re: [PATCH RFC] sd: spin down disks on removal or power-down From: James Bottomley To: Andrew Morton Cc: Robert Hancock , linux-kernel , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org In-Reply-To: <20070129154706.dfb3edab.akpm@osdl.org> References: <45BD522F.3070706@shaw.ca> <20070129154706.dfb3edab.akpm@osdl.org> Content-Type: text/plain Date: Mon, 29 Jan 2007 18:16:40 -0600 Message-Id: <1170116201.3378.29.camel@mulgrave.il.steeleye.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 (2.8.2.1-3.fc6) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 921 Lines: 27 On Mon, 2007-01-29 at 15:47 -0800, Andrew Morton wrote: > What we don't want to happen is for those disks to spin down during a > reboot. > It seems that this is OK with this patch. > > Also, we probably don't want them to be spun down during a kexec_load, > but > I expect that's OK too. Actually, there's another case where we don't want to do spin down, and that's when we don't own the disc (think external array on a SAN). Telling this has always been the biggest stumbling block to spin down of SCSI devices. There's a patch similar to yours which takes this into account, which is currently under discussion: http://marc.theaimsgroup.com/?t=116922621200002 James - 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/