Thread (12 messages) 12 messages, 3 authors, 2021-10-13

Re: [PATCH RESEND] md: allow to set the fail_fast on RAID1/RAID10

From: Xiao Ni <hidden>
Date: 2021-10-12 06:58:47
Also in: lkml

On Mon, Oct 11, 2021 at 5:42 PM Li Feng [off-list ref] wrote:
Xiao Ni [off-list ref] 于2021年10月11日周一 下午3:49写道:
quoted
Hi all

Now the per device sysfs interface file state can change failfast. Do
we need a new file for failfast?

I did a test. The steps are:

mdadm -CR /dev/md0 -l1 -n2 /dev/sdb /dev/sdc --assume-clean
cd /sys/block/md0/md/dev-sdb
echo failfast > state
cat state
in_sync,failfast
This works,  will it be persisted to disk?
mdadm --detail /dev/md0 can show the failfast information. So it
should be written in superblock.
But I don't find how md does this. I'm looking at this.

Regards
Xiao
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help