From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757230Ab1INRm4 (ORCPT ); Wed, 14 Sep 2011 13:42:56 -0400 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:55668 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757104Ab1INRmz (ORCPT ); Wed, 14 Sep 2011 13:42:55 -0400 Date: Wed, 14 Sep 2011 13:42:50 -0400 From: Christoph Hellwig To: Pavel Ivanov Cc: Christoph Hellwig , Hin-Tak Leung , linux-fsdevel@vger.kernel.org, linux-kernel , Christoph Hellwig Subject: Re: Kernel 3.1.0-rc4 oops when connecting iPod Message-ID: <20110914174250.GA30240@infradead.org> References: <1315285921.46647.YahooMailClassic@web29519.mail.ird.yahoo.com> <20110912143452.GA31539@infradead.org> <20110912153129.GA10625@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 12, 2011 at 10:20:01PM -0400, Pavel Ivanov wrote: > This patch works for me. > > And could you comment on my PAGE_SIZE question? > > >> Also I have a little concern about consistency in using > >> PAGE_CACHE_SHIFT and PAGE_SHIFT. hfsplus_read_wrapper() limits visible > >> block size to PAGE_SIZE, not PAGE_CACHE_SIZE. And although now they > >> are equal comment in linux/pagemap.h clearly says that PAGE_CACHE_SIZE > >> can be bigger than PAGE_SIZE. Is it something that should be fixed in > >> hfsplus_read_wrapper() ? The two are and always have been the same. There were plans to allow for a larger PAGE_CACHE_SIZE long time ago, but it never happened. I'll switch everything to PAGE_SIZE in the patch for consistency.