From: Richard Weinberger <richard@nod.at>
To: Dirk Behme <dirk.behme@de.bosch.com>
Cc: linux-mtd@lists.infradead.org, manfred@colorfullife.com,
boris.brezillon@free-electrons.com,
david.oberhollenzer@sigma-star.at
Subject: Re: [PATCH 0/5] Add flight recorder to MTDRAM
Date: Wed, 06 Dec 2017 11:41:10 +0100 [thread overview]
Message-ID: <252100234.Y1JYG21Gen@blindfold> (raw)
In-Reply-To: <20171206085039.27164-1-dirk.behme@de.bosch.com>
Dirk, Manfred,
Am Mittwoch, 6. Dezember 2017, 09:50:34 CET schrieb Dirk Behme:
> From: Manfred Spraul <manfred@colorfullife.com>
>
> Hi,
>
> The series adds a flight recorder to MTDRAM.
Thanks a lot for sharing your tool, this is highly appreciated.
> This allows very efficient power fail testing:
> From the flight recorder output, it is possible to recreate every image
> that might have existed between the start of the recording and the end.
>
> Obviously, a user space tool is required, it is attached as the last
> mail in the series.
So, to understand this approach better I need to recap.
The "flight recorder" logs every single MTD operation (READ, ERASE, PROGRAM)
to a file while the MTD is under load, right?
Then you take the log, replay it to a _file_ but instead of replaying
all N MTD operations only N - X operations are replayed?
The output file is later written back to MTDRAM to check how much UBIFS likes
it?
While having such a tool would be awesome, we have to be very sure that it
behaves correctly.
Yesterday I spent almost the whole night with staring at some of Manfred's
images and I'm not sure whether what I see makes sense or can actually happen
on a real NAND or NOR flash. But I'm still investigating.
> Patches:
>
> 0001-mtdram-expose-write-size-and-writebuf-size-as-module:
> An initial cleanup: write_size and writebuf_size are
> hardcoded in the source code.
> Convert that to module parameters.
MTDRAM is a special purpose MTD simulator, I'm not so sure whether it is a
good idea to turn it into a NAND-alike zombie.
I said this already some time before, Boris and I are in general unhappy with
the current MTD simulator zoo in MTD.
But fixing this is not your job, we have to. :-)
Thanks,
//richard
next prev parent reply other threads:[~2017-12-06 10:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-06 8:50 [PATCH 0/5] Add flight recorder to MTDRAM Dirk Behme
2017-12-06 8:50 ` [PATCH 1/5] mtdram: expose write size and writebuf size as module parameters Dirk Behme
2017-12-06 8:50 ` [PATCH 2/5] mtdram: Add flight recorder Dirk Behme
2017-12-06 8:50 ` [PATCH 3/5] mtdram: Allow to enable/disable flight recorder mode at runtime Dirk Behme
2017-12-06 8:50 ` [PATCH 4/5] mtdram: Convert the flight recorder to a ring buffer Dirk Behme
2017-12-06 8:50 ` [PATCH 5/5] mtdram flight recorder: Add checksums Dirk Behme
2017-12-06 10:41 ` Richard Weinberger [this message]
2017-12-06 19:44 ` [PATCH 0/5] Add flight recorder to MTDRAM Manfred Spraul
2017-12-06 19:59 ` Richard Weinberger
2017-12-06 20:57 ` Richard Weinberger
2017-12-07 16:06 ` Manfred Spraul
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=252100234.Y1JYG21Gen@blindfold \
--to=richard@nod.at \
--cc=boris.brezillon@free-electrons.com \
--cc=david.oberhollenzer@sigma-star.at \
--cc=dirk.behme@de.bosch.com \
--cc=linux-mtd@lists.infradead.org \
--cc=manfred@colorfullife.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox