Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756741AbXENTVH (ORCPT ); Mon, 14 May 2007 15:21:07 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754787AbXENTUz (ORCPT ); Mon, 14 May 2007 15:20:55 -0400 Received: from an-out-0708.google.com ([209.85.132.245]:12227 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754566AbXENTUy (ORCPT ); Mon, 14 May 2007 15:20:54 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=EP+aKnNpGC5mi0EtPqVECy+v3ZKoCwbxqFB2NoWJ4i7/g1WCtMxfPrCPvoWSlhG6v7JlaAth1BBEcO/YxF9skuX5QeYZMm0YeS9ZZkn82nfHbyoBImZVMX4cUdEErXpn/AhQv/7WdVbqlc4YbvUZp/da7lXJYXfROtW6LTxf4j4= Message-ID: <4de7f8a60705141220j2764f326u69545490cdd23c08@mail.gmail.com> Date: Mon, 14 May 2007 21:20:53 +0200 From: "Jan Blunck" To: "Hugh Dickins" Subject: Re: [RFC][PATCH 14/14] tmpfs whiteout support Cc: "Bharata B Rao" , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, "Jan Blunck" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070514093722.GB4139@in.ibm.com> <20070514094519.GP4139@in.ibm.com> X-Google-Sender-Auth: 0cabe7ddf2834cf0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 37 On 5/14/07, Hugh Dickins wrote: > On Mon, 14 May 2007, Bharata B Rao wrote: > > From: Jan Blunck > > Subject: tmpfs whiteout support > > > > Introduce whiteout support to tmpfs. > > > > Signed-off-by: Jan Blunck > > Signed-off-by: Bharata B Rao > > --- > > mm/shmem.c | 9 ++++++++- > > 1 files changed, 8 insertions(+), 1 deletion(-) > > > > --- a/mm/shmem.c > > +++ b/mm/shmem.c > > @@ -74,7 +74,7 @@ > > #define LATENCY_LIMIT 64 > > > > /* Pretend that each entry is of this size in directory's i_size */ > > -#define BOGO_DIRENT_SIZE 20 > > +#define BOGO_DIRENT_SIZE 1 > > Why would that change be needed for whiteout support? > Good question. It seems that this a survivor of the changes necessary for union readdir. This isn't necessary for white-outs. BTW: Why do we claim this to be 20??? Is there any meaning behind this? Cheers, Jan - 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/