| To: | Lachlan McIlroy <lachlan@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH, RFC] Delayed logging of file sizes |
| From: | David Chinner <dgc@xxxxxxx> |
| Date: | Mon, 26 Nov 2007 09:59:28 +1100 |
| Cc: | xfs-dev <xfs-dev@xxxxxxx>, xfs-oss <xfs@xxxxxxxxxxx> |
| In-reply-to: | <47467B87.2000000@sgi.com> |
| References: | <47467B87.2000000@sgi.com> |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.2.1i |
On Fri, Nov 23, 2007 at 06:04:39PM +1100, Lachlan McIlroy wrote: > The easy solution is to log everything so that log replay doesn't need > to check if the on-disk version is newer - it can just replay the log. > But logging everything would cause too much log traffic so this patch > is a compromise and it logs a transaction before we flush an inode to > disk only if it has changes that have not yet been logged. The problem with this is that the inode will be marked dirty during the transaction, so we'll never be able to clean an inode if we issue a transaction during inode writeback. Cheers, Dave. -- Dave Chinner Principal Engineer SGI Australian Software Group |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | WINNING, onlinneedd |
|---|---|
| Next by Date: | Re: [PATCH 1/9]: introduce radix_tree_gang_lookup_range, Nick Piggin |
| Previous by Thread: | [PATCH, RFC] Delayed logging of file sizes, Lachlan McIlroy |
| Next by Thread: | Re: [PATCH, RFC] Delayed logging of file sizes, Lachlan McIlroy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |