Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759116AbXJDUMr (ORCPT ); Thu, 4 Oct 2007 16:12:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756658AbXJDUMg (ORCPT ); Thu, 4 Oct 2007 16:12:36 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:44486 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756415AbXJDUMf (ORCPT ); Thu, 4 Oct 2007 16:12:35 -0400 Date: Thu, 4 Oct 2007 13:12:07 -0700 From: Andrew Morton To: cmm@us.ibm.com Cc: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, sho@tnes.nec.co.jp, jack@suse.cz, clameter@sgi.com Subject: Re: [PATCH 2/2] ext2: Avoid rec_len overflow with 64KB block size Message-Id: <20071004131207.65406a7b.akpm@linux-foundation.org> In-Reply-To: <1191285346.11737.58.camel@localhost.localdomain> References: <20070828190551.415127746@sgi.com> <20070828190735.292638294@sgi.com> <1188432669.3799.35.camel@localhost.localdomain> <1188434857.3799.76.camel@localhost.localdomain> <1191285346.11737.58.camel@localhost.localdomain> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1004 Lines: 25 On Mon, 01 Oct 2007 17:35:46 -0700 Mingming Cao wrote: > ext2: Avoid rec_len overflow with 64KB block size > > From: Jan Kara > > With 64KB blocksize, a directory entry can have size 64KB which does not fit > into 16 bits we have for entry lenght. So we store 0xffff instead and convert > value when read from / written to disk. This patch clashes in non-trivial ways with ext2-convert-to-new-aops-fix.patch and perhaps other things which are already queued for 2.6.24 inclusion, so I'll need to ask for an updated patch, please. Also, I'm planing on merging the ext2 reservations code into 2.6.24, so if we're aiming for complete support of 64k blocksize in 2.6.24's ext2, additional testing and checking will be needed. - 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/