From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mingming Cao Subject: Re: [patch 12/26] mount options: fix ext4 Date: Fri, 25 Jan 2008 09:35:02 -0800 Message-ID: <1201282502.4068.2.camel@localhost.localdomain> References: <20080124193341.166753833@szeredi.hu> <20080124193432.492168716@szeredi.hu> Reply-To: cmm@us.ibm.com Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: akpm@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, "Theodore Ts'o" To: Miklos Szeredi Return-path: Received: from e2.ny.us.ibm.com ([32.97.182.142]:37519 "EHLO e2.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753687AbYAYRf1 (ORCPT ); Fri, 25 Jan 2008 12:35:27 -0500 In-Reply-To: <20080124193432.492168716@szeredi.hu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Thu, 2008-01-24 at 20:33 +0100, Miklos Szeredi wrote: > plain text document attachment (ext4_opts.patch) > From: Miklos Szeredi > > Add stripe= option to /proc/mounts for ext4 filesystems. > > Signed-off-by: Miklos Szeredi > --- > > Index: linux/fs/ext4/super.c > =================================================================== > --- linux.orig/fs/ext4/super.c 2008-01-23 12:57:07.000000000 +0100 > +++ linux/fs/ext4/super.c 2008-01-23 21:43:51.000000000 +0100 > @@ -742,7 +742,8 @@ static int ext4_show_options(struct seq_ > seq_puts(seq, ",nomballoc"); > if (!test_opt(sb, DELALLOC)) > seq_puts(seq, ",nodelalloc"); > - > + if (sbi->s_stripe) > + seq_printf(seq, ",stripe=%lu", sbi->s_stripe); > > /* > * journal mode get enabled in different ways > Added to ext4 patch queue. Thanks! http://repo.or.cz/w/ext4-patch-queue.git Mingming