diff options
author | Lars Ellenberg <Lars.Ellenberg@linbit.com> | 2007-01-10 23:15:37 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2007-01-11 18:18:21 -0800 |
commit | e3881a6816b45668df60a426e5c3431ece1539a7 (patch) | |
tree | 617032a76e25e7167b95ebe4c4a6c90ee301c4c6 /kernel/profile.c | |
parent | 664c0d3d575946bce24ecf5b7f93ee9541e4caf3 (diff) | |
download | kernel_samsung_tuna-e3881a6816b45668df60a426e5c3431ece1539a7.zip kernel_samsung_tuna-e3881a6816b45668df60a426e5c3431ece1539a7.tar.gz kernel_samsung_tuna-e3881a6816b45668df60a426e5c3431ece1539a7.tar.bz2 |
[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 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions