On Wed, 13 Mar 2013, Theodore Ts'o wrote: > Date: Wed, 13 Mar 2013 23:21:18 -0400 > From: Theodore Ts'o <tytso@xxxxxxx> > To: Lukáš Czerner <lczerner@xxxxxxxxxx> > Cc: linux-ext4@xxxxxxxxxxxxxxx > Subject: Re: Metadata reservation for unwritten extent conversion > > On Wed, Mar 13, 2013 at 06:31:25PM +0100, Lukáš Czerner wrote: > > > That sounds like the best thing to do. I assume you will be simply > > > taking the da_reserve_metadata() function introduced in the > > > to-be-dropped commit: > > > > > > > ext4: Reserve metadata if writing into uninitialized > > > > > > ... and moving it into the "reserve metadata block for every delayed > > > write" patch? > > I wnated to kick off some testing tonight, so I've made this change to > the git tree. So the new version of "reserve metadata block for every > delayed write" is here: > > https://git.kernel.org/cgit/linux/kernel/git/tytso/ext4.git/commit/?h=dev&id=c7cf7abbf754f16b78a8b9641d06baac6be60524 > > ... and the dev branch has been modified to drop the "reserve metadata > if writing into unitialized.." commit. > > - Ted Great, thanks. It was quite late yesterday so I have not had time to actually send the patch, sorry. I'll send it today just for the "record-keeping" :) Thanks! -Lukas