Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 5 Jun 2002 13:29:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 5 Jun 2002 13:29:47 -0400 Received: from rwcrmhc51.attbi.com ([204.127.198.38]:29125 "EHLO rwcrmhc51.attbi.com") by vger.kernel.org with ESMTP id ; Wed, 5 Jun 2002 13:29:46 -0400 Date: Wed, 5 Jun 2002 13:07:35 -0400 To: "Albert D. Cahalan" Cc: Andrew Morton , lkml Subject: Re: [rfc] "laptop mode" Message-ID: <20020605170735.GA18036@pimlott.net> Mail-Followup-To: "Albert D. Cahalan" , Andrew Morton , lkml In-Reply-To: <3CFD453A.B6A43522@zip.com.au> <200206050341.g553fvi09850@saturn.cs.uml.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Andrew Pimlott Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 04, 2002 at 11:41:57PM -0400, Albert D. Cahalan wrote: > Also write out everything just before stopping the disk. > Don't let the disk stop if there is any dirty data. The kernel doesn't currently do spin-down at all, does it? Andrew, are you planning to change this? I'm not a kernel programmer, but it seems like a good idea to me: The kernel could flush writes as usual while the disk is spun up, but still spin down after a bit if the rate is low enough. The disk would never spin itself down in that case. Maybe there are also cases where the kernel would delay spin-down, if it hasn't started writing but thinks it might soon. I'm excited to try this. Thanks for writing it against 2.4! Andrew - 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/