From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans Reiser Subject: Re: reiser4 and laptop_mode Date: Tue, 18 Oct 2005 08:49:40 -0700 Message-ID: <43551994.8020607@namesys.com> References: <19812996093.20051017162429@usu.ru> <43542DE1.7050700@slaphack.com> <43545DCF.1070301@namesys.com> <689595617.20051018154707@usu.ru> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <689595617.20051018154707@usu.ru> List-Id: Content-Type: text/plain; charset="us-ascii" To: Alexander Zarochentcev Cc: Valentine Sinitsyn , reiserfs-list@namesys.com Valentine Sinitsyn wrote: >Hi, all, > >HR> We should work to integrate well with it. Zam, can you look at that? >HR> Thanks. >I was looking through linux-2.6.10 sources this morning and did not found >laptop_mode anywhere in filesystem-specific code (except xfs). I'm not >a kernel hacker but it seems to me that laptop_mode is compatible with >everything which have customizable committing period. laptop_mode >tools (shell scripts which are used to activate this feature) do >mainly two things: they set up commit period in >/proc/sys/vm/laptop_mode (this data is used later in pdflush >controlling code etc), remount filesystems with -o >commit=laptop_mode_value and set read-ahead value for hd[a-z]. > >Am I right? > >P.S. Thanks for the replies. > >Best regards, >Valentine > > > > > zam, please respond. Are you at work today?