Re: [Ocfs2-devel] [PATCH 2/3] JBD2: Allow feature checks beforejournal recovery

From: Joel Becker
Date: Fri Aug 13 2010 - 03:18:50 EST


On Thu, Aug 12, 2010 at 11:39:30PM -0400, Ted Ts'o wrote:
> On Thu, Aug 12, 2010 at 10:43:19AM -0700, Joel Becker wrote:
> > On Thu, Jul 22, 2010 at 03:04:16PM -0700, Patrick J. LoPresti wrote:
> > > Before we start accessing a huge (> 16 TiB) OCFS2 volume, we need to
> > > confirm that its journal supports 64-bit offsets. In particular, we
> > > need to check the journal's feature bits before recovering the journal.
> > >
> > > This is not possible with JBD2 at present, because the journal
> > > superblock (where the feature bits reside) is not loaded from disk until
> > > the journal is recovered.
> > >
> > > This patch loads the journal superblock in
> > > jbd2_journal_check_used_features() if it has not already been loaded,
> > > allowing us to check the feature bits before journal recovery.
> > >
> > > Signed-off-by: Patrick LoPresti <lopresti@xxxxxxxxx>
> >
> > Dear jbd2 developers,
> > I've pushed this patch to the merge-window branch of ocfs2.git.
> > I'm ready to send it to Linus, but I need your OK.
>
> Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>

Thanks Ted!

Joel

--

"I don't even butter my bread; I consider that cooking."
- Katherine Cebrian

Joel Becker
Consulting Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/