* ext2/3/4: punch support?
@ 2011-02-28 7:03 Dave Young
2011-02-28 13:11 ` Josef Bacik
0 siblings, 1 reply; 11+ messages in thread
From: Dave Young @ 2011-02-28 7:03 UTC (permalink / raw)
To: josef; +Cc: Theodore Tso, linux-ext4, Linux Kernel Mailing List
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?
--
Regards
dave
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-02-28 7:03 ext2/3/4: punch support? Dave Young
@ 2011-02-28 13:11 ` Josef Bacik
2011-02-28 14:29 ` Dave Young
[not found] ` <OFF2910C77.5B46C8B2-ON87257846.000354EE-07257846.000414E9@us.ibm.com>
0 siblings, 2 replies; 11+ messages in thread
From: Josef Bacik @ 2011-02-28 13:11 UTC (permalink / raw)
To: Dave Young; +Cc: josef, Theodore Tso, linux-ext4, Linux Kernel Mailing List
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,
Josef
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-02-28 13:11 ` Josef Bacik
@ 2011-02-28 14:29 ` Dave Young
2011-02-28 14:50 ` Lukas Czerner
2011-02-28 15:17 ` Eric Sandeen
[not found] ` <OFF2910C77.5B46C8B2-ON87257846.000354EE-07257846.000414E9@us.ibm.com>
1 sibling, 2 replies; 11+ messages in thread
From: Dave Young @ 2011-02-28 14:29 UTC (permalink / raw)
To: Josef Bacik; +Cc: Theodore Tso, linux-ext4, Linux Kernel Mailing List
On Mon, Feb 28, 2011 at 9:11 PM, Josef Bacik <josef@redhat.com> 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.
I know general knowledge about ext filesystem, but nearly new to ext4 code,
could you give some hint where to start?
--
Thanks
dave
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-02-28 14:29 ` Dave Young
@ 2011-02-28 14:50 ` Lukas Czerner
2011-02-28 15:17 ` Eric Sandeen
1 sibling, 0 replies; 11+ messages in thread
From: Lukas Czerner @ 2011-02-28 14:50 UTC (permalink / raw)
To: Dave Young
Cc: Josef Bacik, Theodore Tso, linux-ext4, Linux Kernel Mailing List
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1134 bytes --]
On Mon, 28 Feb 2011, Dave Young wrote:
> On Mon, Feb 28, 2011 at 9:11 PM, Josef Bacik <josef@redhat.com> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-02-28 14:29 ` Dave Young
2011-02-28 14:50 ` Lukas Czerner
@ 2011-02-28 15:17 ` Eric Sandeen
2011-03-01 1:27 ` Dave Young
1 sibling, 1 reply; 11+ messages in thread
From: Eric Sandeen @ 2011-02-28 15:17 UTC (permalink / raw)
To: Dave Young
Cc: Josef Bacik, Theodore Tso, linux-ext4, Linux Kernel Mailing List
On 2/28/11 8:29 AM, Dave Young wrote:
> On Mon, Feb 28, 2011 at 9:11 PM, Josef Bacik <josef@redhat.com> 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.
As Lukas said, ext4 & ext3 support various forms of trim/discard already.
But that's different from punch...
And as for fallocate on ext3, you need somewhere to put the metadata to indicate a block is allocated but not written. This was a lot more straightforward for ext4, since it describes a large range of blocks with a single extent structure.
-Eric
> 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@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
@ 2011-03-01 0:59 Allison Henderson
0 siblings, 0 replies; 11+ messages in thread
From: Allison Henderson @ 2011-03-01 0:59 UTC (permalink / raw)
To: Josef Bacik
Cc: Dave Young, josef, linux-ext4, linux-ext4-owner,
Linux Kernel Mailing List, Theodore Tso
Hi All,
I've actually already started on a patch set for punch hole support in ext4. I've sent them out on the ltc-fsdev mailing list for review. I had planned to spend another week or two running it through some more debug cases before sending it to the ext4 mailing list though.
Allison Henderson
linux-ext4-owner@vger.kernel.org wrote on 02/28/2011 06:11:18 AM:
> Josef Bacik <josef@redhat.com>
> Sent by: linux-ext4-owner@vger.kernel.org
>
> 02/28/2011 06:11 AM
>
> To
>
> Dave Young <hidave.darkstar@gmail.com>
>
> cc
>
> josef@redhat.com, Theodore Tso <tytso@mit.edu>, linux-
> ext4@vger.kernel.org, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
>
> Subject
>
> Re: ext2/3/4: punch support?
>
> 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,
>
> Josef
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-02-28 15:17 ` Eric Sandeen
@ 2011-03-01 1:27 ` Dave Young
0 siblings, 0 replies; 11+ messages in thread
From: Dave Young @ 2011-03-01 1:27 UTC (permalink / raw)
To: Eric Sandeen
Cc: Josef Bacik, Theodore Tso, linux-ext4, Linux Kernel Mailing List,
Andrew Morton
On Mon, Feb 28, 2011 at 11:17 PM, Eric Sandeen <sandeen@redhat.com> wrote:
> On 2/28/11 8:29 AM, Dave Young wrote:
>> On Mon, Feb 28, 2011 at 9:11 PM, Josef Bacik <josef@redhat.com> 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.
>
> As Lukas said, ext4 & ext3 support various forms of trim/discard already.
>
> But that's different from punch...
Lukas and Eric, thanks for pointing out, I think I means punch,
although trim/discard is
useful as well in guest side.
>
> And as for fallocate on ext3, you need somewhere to put the metadata to indicate a block is allocated but not written. This was a lot more straightforward for ext4, since it describes a large range of blocks with a single extent structure.
As for ext3 fallocate, I found some interesting discuss:
http://www.mail-archive.com/linux-ext4@vger.kernel.org/msg02371.html
Andrew, do you know what's the status of above issue?
>
> -Eric
>
>> 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@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
--
Regards
dave
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
[not found] ` <OFF2910C77.5B46C8B2-ON87257846.000354EE-07257846.000414E9@us.ibm.com>
@ 2011-03-01 1:32 ` Dave Young
2011-03-01 2:19 ` Allison Henderson
0 siblings, 1 reply; 11+ messages in thread
From: Dave Young @ 2011-03-01 1:32 UTC (permalink / raw)
To: Allison C Henderson
Cc: Josef Bacik, linux-ext4, linux-ext4-owner,
Linux Kernel Mailing List, Theodore Tso
On Tue, Mar 1, 2011 at 8:44 AM, Allison C Henderson <achender@us.ibm.com> wrote:
>
> Hi All,
>
> I've actually already started on a patch set for punch hole support in ext4.
> I've sent them out on the ltc-fsdev mailing list for review. I had planned
> to spend another week or two running it through some more debug cases before
> sending it to the ext4 mailing list though.
Where can find your patch? should be sent to linux-ext4?
>
> linux-ext4-owner@vger.kernel.org wrote on 02/28/2011 06:11:18 AM:
>
>> Josef Bacik <josef@redhat.com>
>> Sent by: linux-ext4-owner@vger.kernel.org
>>
>> 02/28/2011 06:11 AM
>>
>> To
>>
>> Dave Young <hidave.darkstar@gmail.com>
>>
>> cc
>>
>> josef@redhat.com, Theodore Tso <tytso@mit.edu>, linux-
>> ext4@vger.kernel.org, Linux Kernel Mailing List
>> <linux-kernel@vger.kernel.org>
>>
>> Subject
>>
>> Re: ext2/3/4: punch support?
>>
>> 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,
>>
>> Josef
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at
> http://vger.kernel.org/majordomo-info.html
>
--
Regards
dave
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-03-01 1:32 ` Dave Young
@ 2011-03-01 2:19 ` Allison Henderson
2011-03-01 2:26 ` Dave Young
0 siblings, 1 reply; 11+ messages in thread
From: Allison Henderson @ 2011-03-01 2:19 UTC (permalink / raw)
To: Dave Young
Cc: Allison C Henderson, Josef Bacik, linux-ext4, linux-ext4-owner,
Linux Kernel Mailing List, Theodore Tso
Alrighty then, I can send it out a little early since people are interested. It should show up here soon. Any feedback is appreciated! :)
Allison Henderson
On 2/28/2011 6:32 PM, Dave Young wrote:
> On Tue, Mar 1, 2011 at 8:44 AM, Allison C Henderson<achender@us.ibm.com> wrote:
>>
>> Hi All,
>>
>> I've actually already started on a patch set for punch hole support in ext4.
>> I've sent them out on the ltc-fsdev mailing list for review. I had planned
>> to spend another week or two running it through some more debug cases before
>> sending it to the ext4 mailing list though.
>
> Where can find your patch? should be sent to linux-ext4?
>
>>
>> linux-ext4-owner@vger.kernel.org wrote on 02/28/2011 06:11:18 AM:
>>
>>> Josef Bacik<josef@redhat.com>
>>> Sent by: linux-ext4-owner@vger.kernel.org
>>>
>>> 02/28/2011 06:11 AM
>>>
>>> To
>>>
>>> Dave Young<hidave.darkstar@gmail.com>
>>>
>>> cc
>>>
>>> josef@redhat.com, Theodore Tso<tytso@mit.edu>, linux-
>>> ext4@vger.kernel.org, Linux Kernel Mailing List
>>> <linux-kernel@vger.kernel.org>
>>>
>>> Subject
>>>
>>> Re: ext2/3/4: punch support?
>>>
>>> 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,
>>>
>>> Josef
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at
>> http://vger.kernel.org/majordomo-info.html
>>
>
>
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-03-01 2:19 ` Allison Henderson
@ 2011-03-01 2:26 ` Dave Young
2011-03-01 3:12 ` Allison Henderson
0 siblings, 1 reply; 11+ messages in thread
From: Dave Young @ 2011-03-01 2:26 UTC (permalink / raw)
To: Allison Henderson
Cc: Allison C Henderson, Josef Bacik, linux-ext4, linux-ext4-owner,
Linux Kernel Mailing List, Theodore Tso
On Tue, Mar 1, 2011 at 10:19 AM, Allison Henderson
<achender@linux.vnet.ibm.com> wrote:
> Alrighty then, I can send it out a little early since people are interested. It should show up here soon. Any feedback is appreciated! :)
Hi, top post is bad here, please don't do that.
>
> Allison Henderson
>
> On 2/28/2011 6:32 PM, Dave Young wrote:
>> On Tue, Mar 1, 2011 at 8:44 AM, Allison C Henderson<achender@us.ibm.com> wrote:
>>>
>>> Hi All,
>>>
>>> I've actually already started on a patch set for punch hole support in ext4.
>>> I've sent them out on the ltc-fsdev mailing list for review. I had planned
>>> to spend another week or two running it through some more debug cases before
>>> sending it to the ext4 mailing list though.
>>
>> Where can find your patch? should be sent to linux-ext4?
>>
--
Regards
dave
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ext2/3/4: punch support?
2011-03-01 2:26 ` Dave Young
@ 2011-03-01 3:12 ` Allison Henderson
0 siblings, 0 replies; 11+ messages in thread
From: Allison Henderson @ 2011-03-01 3:12 UTC (permalink / raw)
To: Dave Young
Cc: Allison C Henderson, Josef Bacik, linux-ext4, linux-ext4-owner,
Linux Kernel Mailing List, Theodore Tso
On 2/28/2011 7:26 PM, Dave Young wrote:
> On Tue, Mar 1, 2011 at 10:19 AM, Allison Henderson
> <achender@linux.vnet.ibm.com> wrote:
>> Alrighty then, I can send it out a little early since people are interested. It should show up here soon. Any feedback is appreciated! :)
>
> Hi, top post is bad here, please don't do that.
>
>>
>> Allison Henderson
>>
>> On 2/28/2011 6:32 PM, Dave Young wrote:
>>> On Tue, Mar 1, 2011 at 8:44 AM, Allison C Henderson<achender@us.ibm.com> wrote:
>>>>
>>>> Hi All,
>>>>
>>>> I've actually already started on a patch set for punch hole support in ext4.
>>>> I've sent them out on the ltc-fsdev mailing list for review. I had planned
>>>> to spend another week or two running it through some more debug cases before
>>>> sending it to the ext4 mailing list though.
>>>
>>> Where can find your patch? should be sent to linux-ext4?
>>>
>
>
Sorry about that, I'm still a little new here. I've just sent out what I have so far.
Please let me know if you have trouble with any of the patches. Thx!
Allison Henderson
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-03-01 3:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-28 7:03 ext2/3/4: punch support? Dave Young
2011-02-28 13:11 ` Josef Bacik
2011-02-28 14:29 ` Dave Young
2011-02-28 14:50 ` Lukas Czerner
2011-02-28 15:17 ` Eric Sandeen
2011-03-01 1:27 ` Dave Young
[not found] ` <OFF2910C77.5B46C8B2-ON87257846.000354EE-07257846.000414E9@us.ibm.com>
2011-03-01 1:32 ` Dave Young
2011-03-01 2:19 ` Allison Henderson
2011-03-01 2:26 ` Dave Young
2011-03-01 3:12 ` Allison Henderson
-- strict thread matches above, loose matches on Subject: below --
2011-03-01 0:59 Allison Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).