logfs unmount bug

srimugunthan dhandapani srimugunthan.dhandapani at gmail.com
Thu Sep 1 05:46:59 EDT 2011


>
>  " On Mon, Aug 29, 2011 at 3:37 PM, srimugunthan dhandapani
> <srimugunthan.dhandapani at gmail.com> wrote:
>
>> To clarify on the bugs I reported
>> 1. bonnie test( bonnie  -s 20 -r 10) does not complete . It gets stuck
>> at "Creating  files in sequential order ..."
>> (tested with nandsim, kernel 3.0.1. and 2.6.38.8; consistently
>> reproducible on 2 machines.)
>> The free command show that, while the bonnie test was run for half an
>> hour, free space changed from 2982340 KB to 2550156 KB.

In as far a i can infer, this bug happens because it is stuck in the
infinite loop at logfs_write_anchor() in journal.c


again:
	super->s_no_je = 0;
	for_each_area(i) {
		if (!super->s_area[i]->a_is_open)
			continue;
		super->s_sum_index = i;
		err = logfs_write_je(sb, logfs_write_area);
		if (err)
			goto again;
	}
	err = logfs_write_obj_aliases(sb);
	if (err)
		goto again;
		
It is stuck in the goto again loop.

thanks



More information about the linux-mtd mailing list