From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Layton, Evan J" Subject: Re: Triggering readpages operation Date: Thu, 26 Jul 2012 19:51:12 +0000 Message-ID: References: <20120726073207.308703b8@tlielax.poochiereds.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT Cc: "linux-fsdevel@vger.kernel.org" , "Jelinek, Sarah" To: Jeff Layton Return-path: Received: from mga02.intel.com ([134.134.136.20]:19595 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751678Ab2GZTvO convert rfc822-to-8bit (ORCPT ); Thu, 26 Jul 2012 15:51:14 -0400 In-Reply-To: <20120726073207.308703b8@tlielax.poochiereds.net> Content-Language: en-US Content-ID: <6F9E0CFEF1F61D4F9D0F7AED396DB7A1@intel.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: No it's showing up as being 32. However I'm not really manipulating anything in a backing_dev_info structure and just taking the defaults so perhaps that's what I'm missing? -evan (By the way nice last name :) On 7/26/12 5:32 AM, "Jeff Layton" wrote: >On Wed, 25 Jul 2012 19:59:26 +0000 >"Layton, Evan J" wrote: > >> >> I'm working on a project at intel and working on a better understanding >>of "file system" operations specifically triggering readpages. However I >>have not been able to figure out how to drive or force the file system >>to use readpages. I had thought that readahead() would allow me to do >>this but it's not driving readpages and just goes down the readpage >>path. Any suggestions on the best way to get the file system to trigger >>this operation? >> >> Thanks, >> -evan > > >Is your bdi->ra_pages value set to 0? > >-- >Jeff Layton