Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964994AbWE0WIV (ORCPT ); Sat, 27 May 2006 18:08:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964995AbWE0WIV (ORCPT ); Sat, 27 May 2006 18:08:21 -0400 Received: from smtprelay01.ispgateway.de ([80.67.18.13]:54486 "EHLO smtprelay01.ispgateway.de") by vger.kernel.org with ESMTP id S964994AbWE0WIU (ORCPT ); Sat, 27 May 2006 18:08:20 -0400 From: Ingo Oeser To: Wu Fengguang Subject: Re: [PATCH 23/32] readahead: seeking reads method Date: Sun, 28 May 2006 00:04:31 +0200 User-Agent: KMail/1.9.1 Cc: Andrew Morton , linux-kernel@vger.kernel.org References: <20060527154849.927021763@localhost.localdomain> <348745096.16246@ustc.edu.cn> In-Reply-To: <348745096.16246@ustc.edu.cn> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200605280004.32941.ioe-lkml@rameria.de> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 749 Lines: 23 Hello, On Saturday, 27. May 2006 17:49, Wu Fengguang wrote: > Readahead policy on read after seeking. > > It tries to detect sequences like: > seek(), 5*read(); seek(), 6*read(); seek(), 4*read(); ... This is basically "fast forward" and "fast backward" of media players. Did you try some tests with that? Hard disk recording people will love you. Just watch a nice movies while testing this and you can enjoy both: Your work succeeding and jumping around in a good movie :-) Regards Ingo Oeser - 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/