mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC] UBI bitrot checking
@ 2014-09-23 22:06 Richard Weinberger
  2014-09-23 22:06 ` [PATCH] [RFC] UBI: Implement " Richard Weinberger
  2014-09-30  6:41 ` [RFC] UBI " Bityutskiy, Artem
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Weinberger @ 2014-09-23 22:06 UTC (permalink / raw)
  To: dedekind1; +Cc: linux-mtd, linux-kernel, ricard.wanderlof, aschmidt

This is a very initial draft for one possibility of bitrot checking in UBI.
The basic idea is to have a worker function which reads a complete PEB and
schedules scrubbing if bit flips are detected.
Currently this check is triggered by accessing any UBI debugfs file (yes, I'm lazy!).
We have to agree on an interface first.
Do we want a debugfs file? Another ioctl()?
Automatic in-kernel schedules?
Of course this interface has to return EBUSY if currently a check is running...

The current implementation has one limitation, it can only check PEBs which are used.
As of now ubi_wl_scrub_peb() works only for used PEBs but I think we could change that.

Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-30  6:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 22:06 [RFC] UBI bitrot checking Richard Weinberger
2014-09-23 22:06 ` [PATCH] [RFC] UBI: Implement " Richard Weinberger
2014-09-30  6:41 ` [RFC] UBI " Bityutskiy, Artem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®