| To: | Ricardo Correia <wizeman@xxxxxxxx> |
|---|---|
| Subject: | Re: Null files reloaded :-) |
| From: | Chris Wedgwood <cw@xxxxxxxx> |
| Date: | Tue, 20 Jul 2004 11:31:24 -0700 |
| Cc: | linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <200407201920.59109.wizeman@wizy.org> |
| References: | <200407200444.21761.wizeman@wizy.org> <200407201440.03713.wizeman@wizy.org> <20040720180625.GA31713@taniwha.stupidest.org> <200407201920.59109.wizeman@wizy.org> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
On Tue, Jul 20, 2004 at 07:20:59PM +0100, Ricardo Correia wrote: > 1 - File A is safe on disk > 2 - Process writes file B (metadata on disk, file data in RAM) > 3 - Process renames B to A A is gone, the metadata pointing to it is lost. > 4 - Periodic disk sync (every 5 seconds or so?) > Now if power failure occurs after 3, but before 4.. isn't the inode > and content of A still on disk? yes, but we don't know where > And isn't the directory still pointing to the inode of A? I thought > metadata at this point was only written to the journal. it is, this means the rename and freeing of disk-blocks for A --cw |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Null files reloaded :-), Ricardo Correia |
|---|---|
| Next by Date: | [Bug 347] XFS clearing the disk, bugzilla-daemon |
| Previous by Thread: | Re: Null files reloaded :-), Ricardo Correia |
| Next by Thread: | Re: Null files reloaded :-), David Sparks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |