Re: Unaligned jffs2 dnode address - tested by nandsim

From: Milton Miller
Date: Fri May 27 2011 - 10:35:31 EST


Michal Simek wrote:
> Michal Simek wrote:
> >
> > Hi,
> >
> > I have reached one problem with jffs2 fs ecc tested by nandsim on
> > Microblaze.
>
> Any update on this? Does someone know if jffs dnode should be aligned or not?
> I have added some developers from mtd-utils.
>
> I have also done test with the latest mtd-utils from git and
> there is still unaligned address.
>
> Any suggestions?

I vaguely remember doingn some research in this area a few years ago
looking a report on linuxppc-dev about this and the kernel's unaligned
access was dependant on the device being given a mtd point function
which means the device is directly accessible in the cpus address space.

I don't remember much beyond that and don't have time to dig. I am
just an observer with respect to linux mtd.

>
> Thanks,
> Michal

Hope this helps your research,
milton
--
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/