Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965038AbVL2Gep (ORCPT ); Thu, 29 Dec 2005 01:34:45 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965039AbVL2Gep (ORCPT ); Thu, 29 Dec 2005 01:34:45 -0500 Received: from c158132.vh.plala.or.jp ([210.150.158.132]:45822 "EHLO mvs4.plala.or.jp") by vger.kernel.org with ESMTP id S965038AbVL2Geo (ORCPT ); Thu, 29 Dec 2005 01:34:44 -0500 Message-ID: <43B3844A.5050401@gmail.com> Date: Thu, 29 Dec 2005 15:38:02 +0900 From: cai User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: zh-cn,zh MIME-Version: 1.0 To: OGAWA Hirofumi CC: linux-kernel Subject: Re: [RFC][fat] use mpage_readpage when cluster size is page-alignment References: <87u0ctwf93.fsf@devron.myhome.or.jp> In-Reply-To: <87u0ctwf93.fsf@devron.myhome.or.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 711 Lines: 23 hi, >Can't we use mpage_readpage() always? IIRC, that should work fine >without disadvantage. > >Thanks. > > it should work, but maybe some performance loses if the cluster size is not page-alignment, for example, 4 sector/cluster in a 4KB/page system. because it will fall back to the block_read_full_page when non-adjacent block found in do_mpage_readpage, i think. the same applies to mpage_readpages too. thanks. junjie - 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/