diff options
author | Lars Ellenberg <Lars.Ellenberg@linbit.com> | 2007-01-11 02:15:37 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-11 21:18:21 -0500 |
commit | e3881a6816b45668df60a426e5c3431ece1539a7 (patch) | |
tree | 617032a76e25e7167b95ebe4c4a6c90ee301c4c6 /drivers/md/raid6recov.c | |
parent | 664c0d3d575946bce24ecf5b7f93ee9541e4caf3 (diff) |
[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: NeilBrown <neilb@suse.de>
Signed-off-by: Lars Ellenberg <lars@linbit.com>
Acked-by: Jens Axboe <jens.axboe@oracle.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/raid6recov.c')
0 files changed, 0 insertions, 0 deletions