[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210128113026.094b07b0@xps13>
Date: Thu, 28 Jan 2021 11:30:26 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Richard Weinberger <richard@....at>
Cc: miklos@...redi.hu, vigneshr@...com, boris.brezillon@...labora.com,
rminnich@...gle.com, sven@...fation.org,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
fuse-devel@...ts.sourceforge.net
Subject: Re: [PATCH 0/8] MUSE: Userspace backed MTD v3
Hi Richard,
Richard Weinberger <richard@....at> wrote on Mon, 25 Jan 2021 00:19:59
+0100:
> I'm happy to announce the first non-RFC version of this patch set.
> Over the xmas holidays I found some time to experiment with various userspace
> implementations of MTDs and gave the kernel side more fine-tuning.
>
> Rationale:
> ----------
>
> When working with flash devices a common task is emulating them to run various
> tests or inspect dumps from real hardware. To achieve that we have plenty of
> emulators in the MTD subsystem: mtdram, block2mtd, nandsim.
>
> Each of them implements an ad-hoc MTD and have various drawbacks.
> Over the last years some developers tried to extend them but these attempts
> often got rejected because they added just more adhoc feature instead of
> addressing overall problems.
>
> MUSE is a novel approach to address the need of advanced MTD emulators.
> Advanced means in this context supporting different (vendor specific) image
> formats, different ways for fault injection (fuzzing) and recoding/replaying
> IOs to emulate power cuts.
>
> The core goal of MUSE is having the complexity on the userspace side and
> only a small MTD driver in kernelspace.
> While playing with different approaches I realized that FUSE offers everything
> we need. So MUSE is a little like CUSE except that it does not implement a
> bare character device but an MTD.
I can't tell if your MUSE implementation is right but it looks fine
on the MTD side.
This is following the right path, I look forward to merging it soon!
Thanks for your contribution,
Miquèl
Powered by blists - more mailing lists