[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGBYx2bSDr79rrns4FNZ=6TRa8ahKpHr6njuLqh8YYKzwH+HOQ@mail.gmail.com>
Date: Tue, 13 Dec 2011 09:05:46 +0800
From: Yongqiang Yang <xiaoqiangnk@...il.com>
To: Andrea Arcangeli <aarcange@...hat.com>
Cc: linux-ext4@...r.kernel.org, Theodore Tso <tytso@....edu>,
Jan Kara <jack@...e.cz>
Subject: Re: [PATCH 1/2] ext4: avoid hangs in ext4_da_should_update_i_disksize()
On Tue, Dec 13, 2011 at 12:57 AM, Andrea Arcangeli <aarcange@...hat.com> wrote:
> On Mon, Dec 12, 2011 at 11:28:21AM +0800, Yongqiang Yang wrote:
>> Hi Andrea,
>>
>> I can not figure out why ext4 hangs. Could you explain more on hanging?
>
> Well I tried to explain it in the changeset comment.
>
> If "copied" is zero, end/offset/idx becomes -1, and this loops:
>
> for (i = 0; i < idx; i++)
>
> definitely a bug and checking ext4 git I don't see anything fixing it.
Got it. Thanks.
Looks good to me.
--
Best Wishes
Yongqiang Yang
--
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