Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 28 Jun 2002 18:56:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 28 Jun 2002 18:55:59 -0400 Received: from mailout08.sul.t-online.com ([194.25.134.20]:56207 "EHLO mailout08.sul.t-online.com") by vger.kernel.org with ESMTP id ; Fri, 28 Jun 2002 18:55:59 -0400 Date: Fri, 28 Jun 2002 23:59:42 +0200 To: Andrew Morton Cc: LKML Subject: Re: Automatically mount or remount EXT3 partitions with EXT2 when alaptop is powered by a battery? Message-ID: <20020628215942.GA3679@pelks01.extern.uni-tuebingen.de> Mail-Followup-To: Andrew Morton , LKML References: <1024948946.30229.19.camel@turbulence.megapathdsl.net> <3D18A273.284F8EDD@zip.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D18A273.284F8EDD@zip.com.au> User-Agent: Mutt/1.4i From: Daniel Kobras Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1165 Lines: 25 On Tue, Jun 25, 2002 at 10:03:47AM -0700, Andrew Morton wrote: > If it's because of the disk-spins-up-too-much problem then > that can be addressed by allowing the commit interval to be > set to larger values. The updated commit interval will only affect new transactions, correct? In other words, when changing the commit interval from t_old to t_new, it will take t_old seconds until we can be certain there are only transactions with a t_new expiry interval in the queue? Or is there a way to flush the current queue of transactions, eg. by fsync()ing the underlying block device, or by sending a magic signal to kjournald? If such manual interaction is possible, it'd also be handy to have the opposite: a be-anal mode (eg. if commit interval==0) meaning 'do not write any transaction to disk until explicitly told to'. This parallels the way kupdated can be tuned for traditional write-back. Regards, Daniel. - 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/