Re: 2.6.17-ck1: fcache problem...

From: Paolo Ornati
Date: Tue Jun 27 2006 - 09:03:10 EST


On Tue, 27 Jun 2006 12:24:57 +0200
Paolo Ornati <ornati@xxxxxxxxxxxxx> wrote:

> So I suppose that it's already fixed.
>
> :)

Oppss... even with your GIT tree it doesn't work :(

But this time I think I've found the problem:

--- fs/ext3/super.c ---

ext3_remount()
{
...
unsigned long fcache_devnum = 0;
...
if (!parse_options(data, sb, NULL, NULL, &fcache_devnum, &n_blocks_count, 1))
...
if (fcache_devnum) {
ext3_close_fcache(sb);
ext3_open_fcache(sb, fcache_devnum);
}
...
}

---------------------


If I understand correctly I have to pass the "fdev=..." option not only
when remounting "rw" but even when remounting "ro" before shutdown or
reboot.

Cannot the code figure out this himself al let "mount -o remount,ro"
work?

--
Paolo Ornati
Linux 2.6.17-gd2581eb4 on x86_64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/