From: Andrew Morton <akpm@linux-foundation.org>
To: Theodore Tso <tytso@mit.edu>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [patch 24/51] ext3: wait on all pending commits in ext3_sync_fs
Date: Thu, 6 Nov 2008 14:20:20 -0800 [thread overview]
Message-ID: <20081106142020.b64dee83.akpm@linux-foundation.org> (raw)
In-Reply-To: <20081106214431.GL18939@mit.edu>
On Thu, 6 Nov 2008 16:44:31 -0500
Theodore Tso <tytso@mit.edu> wrote:
> My version of this patch also cleaned up the following comment, which
> has been wrong since 2.5.70 or thereabouts...
oh, I didn't spot that.
I looked at the version in linux-next and saw that it was propagating
the error value back to the VFS as well. Or maybe that was done in a
separate patch, dunno. But while that's a good change, I felt that we
should separate it from this bugfix. I meant to mention it but I
forgot, sorry.
> This isn't urgent, so could you just queue this up for the next merge
> window in the -mm tree?
>
> - Ted
>
> ext3: Clean up outdated and incorrect comment for ext3_write_super()
>
> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: <linux-ext4@vger.kernel.org>
> ---
> diff --git a/fs/ext3/super.c b/fs/ext3/super.c
> index e5717a4..296c044 100644
> --- a/fs/ext3/super.c
> +++ b/fs/ext3/super.c
> @@ -2375,12 +2375,9 @@ int ext3_force_commit(struct super_block *sb)
> /*
> * Ext3 always journals updates to the superblock itself, so we don't
> * have to propagate any other updates to the superblock on disk at this
> - * point. Just start an async writeback to get the buffers on their way
> - * to the disk.
> - *
> - * This implicitly triggers the writebehind on sync().
> + * point. (We can probably nuke this function altogether, and remove
> + * any mention to sb->s_dirt in all of fs/ext3; eventual cleanup...)
> */
> -
> static void ext3_write_super (struct super_block * sb)
> {
> if (mutex_trylock(&sb->s_lock) != 0)
Sure.
next prev parent reply other threads:[~2008-11-06 22:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-06 20:53 [patch 24/51] ext3: wait on all pending commits in ext3_sync_fs akpm
2008-11-06 21:44 ` Theodore Tso
2008-11-06 22:20 ` Andrew Morton [this message]
2008-11-06 22:42 ` Theodore Tso
2008-11-07 14:58 ` Arthur Jones
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=20081106142020.b64dee83.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.