[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110324113310.GC27322@quack.suse.cz>
Date: Thu, 24 Mar 2011 12:33:10 +0100
From: Jan Kara <jack@...e.cz>
To: Yongqiang Yang <xiaoqiangnk@...il.com>
Cc: jack@...e.cz, linux-ext4@...r.kernel.org
Subject: Re: [PATCH v1] ext3:Fix credits computing for ordered mode.
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@...il.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@...e.cz>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists