2009-06-11 00:17:36

by Theodore Ts'o

[permalink] [raw]
Subject: Re: ext4 preallocation corruption with truncate

On Wed, Jun 10, 2009 at 04:28:57PM -0700, Mingming wrote:
> We have seen data lost issue after a file being preallocated, write,
> then truncated.
>
> Ted could we send this fix to stable asap? Thanks.

Aneesh had already sent this patch to linux-ext4, and I've already
sent a pull request of all of the accumulated ext4 fixes to Linus.
Once Linus pulls it into mainline, I'll assemble the set of fixes that
that need to go to stable, and send it off to [email protected].

- Ted


2009-06-11 00:39:47

by Mingming Cao

[permalink] [raw]
Subject: Re: ext4 preallocation corruption with truncate

On Wed, 2009-06-10 at 20:17 -0400, Theodore Tso wrote:
> On Wed, Jun 10, 2009 at 04:28:57PM -0700, Mingming wrote:
> > We have seen data lost issue after a file being preallocated, write,
> > then truncated.
> >
> > Ted could we send this fix to stable asap? Thanks.
>
> Aneesh had already sent this patch to linux-ext4, and I've already
> sent a pull request of all of the accumulated ext4 fixes to Linus.
> Once Linus pulls it into mainline, I'll assemble the set of fixes that
> that need to go to stable, and send it off to [email protected].
>
> - Ted

Thanks, I overlooked Aneesh's post.

Mingming