Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 26 Jun 2002 10:18:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 26 Jun 2002 10:18:30 -0400 Received: from nat-pool-rdu.redhat.com ([66.187.233.200]:28882 "EHLO devserv.devel.redhat.com") by vger.kernel.org with ESMTP id ; Wed, 26 Jun 2002 10:18:29 -0400 Date: Wed, 26 Jun 2002 01:13:40 +0100 From: Stephen Tweedie To: Andrew Morton Cc: Miles Lane , LKML Subject: Re: Automatically mount or remount EXT3 partitions with EXT2 when alaptop is powered by a battery? Message-ID: <20020626011340.A13410@redhat.com> 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 User-Agent: Mutt/1.2.5.1i In-Reply-To: <3D18A273.284F8EDD@zip.com.au>; from akpm@zip.com.au on Tue, Jun 25, 2002 at 10:03:47AM -0700 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 23 Hi, 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. > +int jbd_commit_interval = 5; /* /proc/sys/fs/jbd_commit_interval */ I suspect you want this to be per-mount, not system-wide (although filesystems could easily just inherit the system default dynamically if there's no per-fs override.) I could easily imagine a user wanting a different interval for a scratch disk, for example. Cheers, Stephen - 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/