Some information about direct-io support on ubifs
Michael Nazzareno Trimarchi
michael at amarulasolutions.com
Mon Nov 18 02:05:15 PST 2024
Hi Richard
On Mon, Nov 18, 2024 at 11:02 AM Richard Weinberger <richard at nod.at> wrote:
>
> ----- Ursprüngliche Mail -----
> > Von: "Michael Nazzareno Trimarchi" <michael at amarulasolutions.com>
> >> >>> I would like to have some information on how to implement direct-io
> >> >>> support in ubifs. I have tried to mount squashfs image as file in
> >> >>> ubifs using loopback and direct-io but it seems that loop can not
> >> >>> handle when this is on top of ubifs. From what I understand from the
> >> >>> code it seems that the requirement is that the direct-io is
> >> >>> implemented in the filesystem where the file is stored. I have
> >> >>> simulated using nand sim. The idea is to reduce the buffering. I'm
> >> >>> open to have other suggestions regarding this too.
>
> Why are you using UBIFS anyway for this? Just place the squashfs inside
> an UBI volume.
Yes this is one of the solutions I have proposed, but the idea is to
update a single squashfs
container and not bound the limit in the beginning of the device life.
Does it make sense to you?
<rootfs ubifs> you can create any size/number of containers if they
fit inside the device.
Michael
>
> Thanks,
> //richard
--
Michael Nazzareno Trimarchi
Co-Founder & Chief Executive Officer
M. +39 347 913 2170
michael at amarulasolutions.com
__________________________________
Amarula Solutions BV
Joop Geesinkweg 125, 1114 AB, Amsterdam, NL
T. +31 (0)85 111 9172
info at amarulasolutions.com
www.amarulasolutions.com
More information about the linux-mtd
mailing list