- Subject: [PATCH] multipath: Set 'tur' as the default path checker for NetApp LUNs
- From: Martin George <marting@xxxxxxxxxx>
- Date: Mon, 12 Mar 2012 13:52:11 +0530
- Cc: christophe.varoqui@xxxxxxxxx
- Organization: NetApp
- Reply-to: device-mapper development <dm-devel@xxxxxxxxxx>
- User-agent: KMail/1.12.2 (Linux/2.6.31-14-generic; KDE/4.3.2; i686; ; )
In our tests, we've noticed that the 'tur' checker provides
better performance compared to 'directio' primarily because 'tur'
does not use FS-based requests unlike 'directio'. Moreover with
Hannes' recent async tur enhancement, the 'tur' checker is more
efficient now than before.
So we'd prefer using 'tur' as the default path checker for NetApp
LUNs now. The below patch enables the same by updating the
.checker_name in the hwtable for NetApp LUNs.
Signed-off-by: Martin George <marting@xxxxxxxxxx>
---
libmultipath/hwtable.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index 020c8aa..b8a62dd 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -955,7 +955,7 @@ static struct hwentry default_hw[] = {
.rr_weight = RR_WEIGHT_NONE,
.no_path_retry = NO_PATH_RETRY_UNDEF,
.minio = 128,
- .checker_name = DIRECTIO,
+ .checker_name = TUR,
.prio_name = PRIO_ONTAP,
.prio_args = NULL,
},
--
1.6.3.3
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel
[DM Crypt]
[Fedora Desktop]
[ATA RAID]
[Fedora Marketing]
[Fedora Packaging]
[Fedora SELinux]
[Yosemite Discussion]
[Yosemite Photos]
[KDE Users]
[Fedora Tools]
[Fedora Docs]