All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] ubihealthd
@ 2015-11-05 22:59 Richard Weinberger
  2015-11-05 23:00 ` [PATCH 1/4] Add kernel style linked lists Richard Weinberger
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Richard Weinberger @ 2015-11-05 22:59 UTC (permalink / raw)
  To: linux-mtd; +Cc: boris.brezillon, alex

ubihealthd is a tiny C program which takes care of your NAND.
It will trigger re-reads and scrubbing such that read-disturb and
data retention will be addressed before data is lost.
Currently the policy is rather trivial. It re-reads every PEB within
a given time frame, same for scrubbing and if a PEB's read counter exceeds
a given threshold it will also trigger a re-read.

At ELCE some people asked why this is done in userspace.
The reason is that this is a classical example of kernel offers mechanism
and userspace the policy. Also ubihealthd is not mandatory.
Depending on your NAND it can help you increasing its lifetime.
But you won't lose data immediately if it does not run for a while.
It is something like smartd is for hard disks.
I did this also in kernel space and it was messy.

[PATCH 1/4] Add kernel style linked lists
[PATCH 2/4] Include new ioctls and struct in ubi-user.h
[PATCH 3/4] Initial implementation for ubihealthd.
[PATCH 4/4] Documentation for ubihealthd

^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <f9de52c909c44f5daa7bcb154ec27e2e@SIWEX5A.sing.micron.com>]
[parent not found: <9b03f4d6e2004f07b30a13cfa4cfcc96@SIWEX5A.sing.micron.com>]

end of thread, other threads:[~2017-06-27 14:51 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-05 22:59 [RFC] ubihealthd Richard Weinberger
2015-11-05 23:00 ` [PATCH 1/4] Add kernel style linked lists Richard Weinberger
2015-11-05 23:00 ` [PATCH 2/4] Include new ioctls and struct in ubi-user.h Richard Weinberger
2015-11-05 23:00 ` [PATCH 3/4] Initial implementation for ubihealthd Richard Weinberger
2016-04-15  6:38   ` Sascha Hauer
2015-11-05 23:00 ` [PATCH 4/4] Documentation " Richard Weinberger
2016-04-15  6:26 ` [RFC] ubihealthd Sascha Hauer
2016-04-15  9:02   ` Boris Brezillon
2016-07-05 17:27   ` Daniel Walter
     [not found] <f9de52c909c44f5daa7bcb154ec27e2e@SIWEX5A.sing.micron.com>
2017-06-27 13:42 ` Richard Weinberger
     [not found] <9b03f4d6e2004f07b30a13cfa4cfcc96@SIWEX5A.sing.micron.com>
2017-06-27 14:51 ` Richard Weinberger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.