From: NeilBrown <neilb@suse.de>
To: lingli tang <tanglingli001@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: is mdadm RAID1 disk full sync
Date: Sun, 22 Mar 2015 14:20:33 +1100 [thread overview]
Message-ID: <20150322142033.0af10b1a@notabene.brown> (raw)
In-Reply-To: <CAN+bsqhy0Bao1hAn3R-KtXWOjYb8O2LDo+E1jNdktWdduUL4vw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1204 bytes --]
On Sat, 21 Mar 2015 19:01:54 +0800 lingli tang <tanglingli001@gmail.com>
wrote:
> I am a newbie of mdadm. I have a question but find no answer in
> document or google for last 10 days.
>
> The question is : RAID1 made by mdadm is full sync? for example, I
> have two disk(sdb and sdc) to make RAID1 disk (/dev/md127), if I
> commit an IO to the RAID1 disk (md127), it will return back to me when
> all the two disk commit successfully or it will return back
> to me once just one of the disk successfully commit.
The write request will not return until it has been submitted to all, and
returned by, all working devices.
>
> I have test with xfs and ext4 with sync option, and it seems that two
> disk have lots of commit difference after reboot the server. is that
> means mdadm return success when one of the disk is commit
> successfully?
That certainly shouldn't happen. I would need more details of the experiment
that you performed.
NeilBrown
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 811 bytes --]
next prev parent reply other threads:[~2015-03-22 3:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-21 11:01 is mdadm RAID1 disk full sync lingli tang
2015-03-22 3:20 ` NeilBrown [this message]
2015-03-22 5:00 ` lingli tang
2015-03-22 5:38 ` NeilBrown
2015-03-22 11:31 ` lingli tang
2015-03-23 2:52 ` NeilBrown
2015-03-22 7:28 ` Adam Goryachev
2015-03-22 12:29 ` lingli tang
2015-03-22 12:51 ` Adam Goryachev
2015-03-23 8:34 ` lingli tang
2015-03-23 12:57 ` Adam Goryachev
2015-03-24 2:09 ` lingli tang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150322142033.0af10b1a@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=tanglingli001@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).