[PATCH v2] ubi: gluebi: Fix NULL pointer dereference caused by ftl notifier
Richard Weinberger
richard at nod.at
Mon Oct 23 00:15:41 PDT 2023
----- Ursprüngliche Mail -----
> Von: "chengzhihao1" <chengzhihao1 at huawei.com>
>>> If we add new ioctls to control creation/destroying of gluebi, then
>>> gluebi mtd won't be automatically created when UBI volume is added. I'm
>>> not certain whether this change will effect existing startup process
>>> that depends on gluebi.
>>
>> Let's take a stack back. The sole purpose of gluebi is providing
>> a way to run JFFS2 on top of UBI.
>
> Is it possible that someone runs ext4 on mtdblock based on gluebi, for
> the advantage of wear-leveling?
Unless they want to kill their NAND immediately, no.
UBIblock hat initially an RW-Mode but it was rejected because
UBI is not an FTL and will all dangerous setups.
What I'm trying to say is, I'd like to avoid adding complicated solutions
or workarounds just to make artificial stacking of outdated MTD components
possible.
Let's keep the big picture in mind.
Thanks,
//richard
More information about the linux-mtd
mailing list