public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* maintain badblocks list on the fly
@ 2014-01-05 10:02 Oleksij Rempel
  2014-01-06  1:27 ` Theodore Ts'o
  0 siblings, 1 reply; 3+ messages in thread
From: Oleksij Rempel @ 2014-01-05 10:02 UTC (permalink / raw)
  To: linux-ext4

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

Hello all,

after some googling i didn't found answer to my question, so i set it
directly here: do it makes sense and is it possible to maintain bad
block list of ext4 on fly? I mean, if ext4 get error from, for example
from ata subsystem, and it will mark block as bad or may be better as
"probably bad"?

Since ext4 do anyway journal recovery, it can do some sort of
auto-repair too.

The reason why i ask is a story of laptop which i got for repair. After
update, system failed to boot. One of system relevant files was placed
on badblock which was already detected by kernel one month(!) before (it
can be found in syslog). After reboot, system was unusable for average
user. It is single bad block for 500GB, so it is not the case for
replacement.

In case if ext4 would maintain bad blocks on the fly, it would keep the
system working. Hi-level tools should be responsible to notify user
about FS and device degradation.

PS: thanks for metadata_csum :)
-- 
Regards,
Oleksij


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

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

end of thread, other threads:[~2014-01-16  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-05 10:02 maintain badblocks list on the fly Oleksij Rempel
2014-01-06  1:27 ` Theodore Ts'o
2014-01-16  9:50   ` Oleksij Rempel

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