| To: | Chris Wedgwood <cw@xxxxxxxx> |
|---|---|
| Subject: | Re: massively truncated files with XFS with sudden power loss on 2.6.27 and 2.6.28 |
| From: | Russell Cattelan <cattelan@xxxxxxxxxxx> |
| Date: | Mon, 29 Dec 2008 15:25:11 -0600 |
| Cc: | Russell Cattelan <cattelan@xxxxxxxxxxx>, Martin Steigerwald <Martin@xxxxxxxxxxxx>, xfs@xxxxxxxxxxx |
| In-reply-to: | <20081229201741.GA20024@puku.stupidest.org> |
| References: | <200812291920.34123.Martin@Lichtvoll.de> <4959205E.4000000@thebarn.com> <20081229192957.GC18092@puku.stupidest.org> <49592E7D.4050208@xfs.org> <20081229201741.GA20024@puku.stupidest.org> |
| User-agent: | Thunderbird 2.0.0.6 (Macintosh/20070728) |
Chris Wedgwood wrote:
yes but the whole deal with null files is no extents for a file size that should have extents.On Mon, Dec 29, 2008 at 02:09:33PM -0600, Russell Cattelan wrote: So if the extent creation transaction is logged then it should be safe to update the file size on disk, if not then the file "last flushed" size should be on disk. In this case I would assume 0, since that would be the last valid flush size. correct but that change/hack has apparently been removed at some point? maybe along with the "last flush size" changes?that should have been fixed. new files won't be affected by that changeCorrect even if the sync on close if truncate code was there it would not help kde apps apparently. |
| Previous by Date: | A rescue tool: xfs_irecover, Jan Engelhardt |
|---|---|
| Next by Date: | Re: massively truncated files with XFS with sudden power loss on 2.6.27 and 2.6.28, Eric Sandeen |
| Previous by Thread: | Re: massively truncated files with XFS with sudden power loss on 2.6.27 and 2.6.28, Chris Wedgwood |
| Next by Thread: | safe writing in applications (was: Re: massively truncated files with XFS with sudden power loss on 2.6.27 and 2.6.28), Martin Steigerwald |
| Indexes: | [Date] [Thread] [Top] [All Lists] |