From: Dave Chinner <david@fromorbit.com>
To: Christoph Hellwig <hch@lst.de>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCH 2/3] kill xfs_ialloc_log_di
Date: Wed, 8 Oct 2008 08:21:23 +1100 [thread overview]
Message-ID: <20081007212123.GU30001@disturbed> (raw)
In-Reply-To: <20081007202157.GB16485@lst.de>
On Tue, Oct 07, 2008 at 10:21:57PM +0200, Christoph Hellwig wrote:
> xfs_ialloc_log_di alwasy logs the full inode core + di_next_unlinked, so
> there's really no need for all the offset magic and we can just call
> xfs_trans_log_buf directly from it's only user. Also add a comment
> describing what we should do here instead.
Looks like a good idea. I'll have to redo some patches on top of
this, but otherwise I think it's fine.
> @@ -406,18 +344,25 @@ xfs_ialloc_ag_alloc(
> XFS_BUF_LOCK);
> ASSERT(fbuf);
> ASSERT(!XFS_BUF_GETERROR(fbuf));
> +
> /*
> - * Set initial values for the inodes in this buffer.
> + * Initialize all inodes in this buffer and then log them.
> + *
> + * XXX: It would be much better if we had just one transaction to
> + * log a whole cluster of inodes instead of all the indivdual
> + * transactions causing a lot of log traffic.
> */
That's the patch series I'll need to redo on top of this. ;)
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
next prev parent reply other threads:[~2008-10-07 21:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 20:21 [PATCH 2/3] kill xfs_ialloc_log_di Christoph Hellwig
2008-10-07 21:21 ` Dave Chinner [this message]
2008-10-07 22:24 ` Mark Goodwin
2008-10-07 21:27 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081007212123.GU30001@disturbed \
--to=david@fromorbit.com \
--cc=hch@lst.de \
--cc=xfs@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox