Skip to contentSkip to conversation

ext4 preallocation corruption with truncate

DISCUSSION Theodore Tso 2 participants 2 messages Jun 11, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1244676537.5256.27.camel@mingming-laptop

#1 lore raw
Quoted 4 lines · Mingming

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

#2 lore raw
Quoted 4 lines · Theodore Tso
Quoted 3 lines · Mingming

We have seen data lost issue after a file being preallocated, write, then truncated.

Quoted 8 lines
Quoted 1 line

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