| 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@xxxxxxxxxxxxxxxxxx> |
| References: | <200812291920.34123.Martin@xxxxxxxxxxxx> <4959205E.4000000@xxxxxxxxxxx> <20081229192957.GC18092@xxxxxxxxxxxxxxxxxx> <49592E7D.4050208@xxxxxxx> <20081229201741.GA20024@xxxxxxxxxxxxxxxxxx> |
| 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:Still why is the file size making it to disk before the data and more importantly the extent transaction to the log?well, as you know, it's logged, the data isn't 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.the window was shrunk to write out begins on close for existing files the are opened with truncate (i think nathans did that some time ago?) Correct even if the sync on close if truncate code was there it would not help kde apps apparently.new files won't be affected by that change |
| 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] |