From: Jan Kara <jack@suse.cz>
To: Yongqiang Yang <xiaoqiangnk@gmail.com>
Cc: jack@suse.cz, linux-ext4@vger.kernel.org
Subject: Re: [PATCH v1] ext3:Fix credits computing for ordered mode.
Date: Thu, 24 Mar 2011 12:33:10 +0100 [thread overview]
Message-ID: <20110324113310.GC27322@quack.suse.cz> (raw)
In-Reply-To: <1300927719-27383-1-git-send-email-xiaoqiangnk@gmail.com>
On Thu 24-03-11 08:48:39, Yongqiang Yang wrote:
> Orginal computing ignores indirects themselves in ordered mode.
Thanks. Merged into my tree.
Honza
>
> Signed-off-by:Yongqiang Yang <xiaoqiangnk@gmail.com>
> ---
> fs/ext3/inode.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
> index ae94f6d..7f5db46 100644
> --- a/fs/ext3/inode.c
> +++ b/fs/ext3/inode.c
> @@ -3294,7 +3294,7 @@ static int ext3_writepage_trans_blocks(struct inode *inode)
> if (ext3_should_journal_data(inode))
> ret = 3 * (bpp + indirects) + 2;
> else
> - ret = 2 * (bpp + indirects) + 2;
> + ret = 2 * (bpp + indirects) + indirects + 2;
>
> #ifdef CONFIG_QUOTA
> /* We know that structure was already allocated during dquot_initialize so
> --
> 1.7.4
>
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2011-03-24 11:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-24 0:48 [PATCH v1] ext3:Fix credits computing for ordered mode Yongqiang Yang
2011-03-24 4:49 ` Amir Goldstein
2011-03-24 6:36 ` Yongqiang Yang
2011-03-24 11:33 ` Jan Kara [this message]
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=20110324113310.GC27322@quack.suse.cz \
--to=jack@suse.cz \
--cc=linux-ext4@vger.kernel.org \
--cc=xiaoqiangnk@gmail.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;
as well as URLs for NNTP newsgroup(s).