Skip to content
Commit e3881a68 authored by Lars Ellenberg's avatar Lars Ellenberg Committed by Linus Torvalds
Browse files

[PATCH] md: pass down BIO_RW_SYNC in raid{1,10}



md raidX make_request functions strip off the BIO_RW_SYNC flag, thus
introducing additional latency.

Fixing this in raid1 and raid10 seems to be straightforward enough.

For our particular usage case in DRBD, passing this flag improved some
initialization time from ~5 minutes to ~5 seconds.

Acked-by: default avatarNeilBrown <neilb@suse.de>
Signed-off-by: default avatarLars Ellenberg <lars@linbit.com>
Acked-by: default avatarJens Axboe <jens.axboe@oracle.com>
Cc: <stable@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 664c0d3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment