From: Theodore Ts'o Subject: Re: [4.7-rc6 ext3 BUG] kernel BUG at fs/ext4/xattr.c:1331 Date: Mon, 1 Aug 2016 09:09:05 -0400 Message-ID: <20160801130905.GH12853@thunk.org> References: <20160718022356.GC1922@dastard> <20160718030256.GD1922@dastard> <83e3076d-4f84-705d-5259-b3ac1aaf90b7@redhat.com> <20160718052447.GE1922@dastard> <20160728135432.GA19398@quack2.suse.cz> <20160729002112.GX16044@dastard> <20160729064210.GA3611@quack2.suse.cz> <20160801030909.GD12853@thunk.org> <20160801121930.GB19431@quack2.suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Dave Chinner , Eric Sandeen , linux-ext4@vger.kernel.org To: Jan Kara Return-path: Received: from imap.thunk.org ([74.207.234.97]:34682 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753536AbcHANJq (ORCPT ); Mon, 1 Aug 2016 09:09:46 -0400 Content-Disposition: inline In-Reply-To: <20160801121930.GB19431@quack2.suse.cz> Sender: linux-ext4-owner@vger.kernel.org List-ID: On Mon, Aug 01, 2016 at 02:19:30PM +0200, Jan Kara wrote: > > Relatively simple but there are still some bugs lurking - I have the > original issue fixed but I have implemented xfstests which stress the inode > expansion code in various ways and so far they are still able to crash the > kernel... Tomorrow I will be looking more into it and hopefully will be > able to finish the fixes. Great, thanks. I'll wait and see how your patches work out. If we think all of the patches are simple/low-risk enough for -stable material, I'd much rather go with a proper fix. > Regarding your patch - I think it's a reasonable band-aid although I'll > have to backport proper fixes to 4.4 anyway (it's a base of our next > enterprise release), which is where i_projid got introduced as well, so > eventually we will have proper stable fixes for all relevant kernels > anyway. Well, it depends on whether you intend to support upgrading an existing file system or require users to run mkfs.ext4 before being able to take advantage of the new feature. Red Hat is much more conservative and has historically only supported running mke2fs from scratch --- which probably made sense from their QA department's POV, anyway. The band-aid patch is enough if you don't suppor "tune2fs -O project", but only "mke2fs -t ext4 -O project". I'd personally prefer upstream to support both flawlesssly, so I'm thankful for your work to fix things properly, but enterprise distros can be extremely conservative. Cheers, - Ted