* how to use badsector function
@ 2012-02-26 10:06 kedacomkernel
0 siblings, 0 replies; only message in thread
From: kedacomkernel @ 2012-02-26 10:06 UTC (permalink / raw)
To: linux-raid
I noted md add a function about badsector.But I did not found how to using.
1:when create a raid5 and superblock is load:
in function super_1_load:
if (sb->bblog_offset == 0)
rdev->badblocks.shift = -1;
2:when runing raid5,meet badsector. Because shift=-1,not add
3:mdadm can't provide a parameter to set.
Thanks!
--------------
kedacomkernel
2012-02-26
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-02-26 10:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 10:06 how to use badsector function kedacomkernel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).