Re: ext2/3/4: punch support?

From: Lukas Czerner
Date: Mon Feb 28 2011 - 09:50:22 EST


On Mon, 28 Feb 2011, Dave Young wrote:

> On Mon, Feb 28, 2011 at 9:11 PM, Josef Bacik <josef@xxxxxxxxxx> wrote:
> > On Mon, Feb 28, 2011 at 03:03:40PM +0800, Dave Young wrote:
> >> Hi, josef and ext guys
> >>
> >> Do you have any plan with ext4 hole punching support? And the
> >> fallocate for ext2/3?
> >>
> >> What's the obstacle to work on this? could someone tell the status of
> >> this issue?
> >
> > There is no obstacle, just nobody has bothered to do it. ÂIf you want to do it
> > go for it. ÂThanks,
>
> Yes, I want to do some kvm image space discard stuff,
> I use ext4 as my filesystem, but currently only xfs support something
> like trim/discard.

Ext4 supports discard as well, actually batched discard support was
added into ext4 before xfs :)

Thanks!
-Lukas

>
> I know general knowledge about ext filesystem, but nearly new to ext4 code,
> could you give some hint where to start?
>
> --
> Thanks
> dave
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>