Skip to contentSkip to conversation

multipath: rename netapp.c to ontap.c

PATCH Applied Benjamin Marzinski 3 participants 3 messages Apr 27, 2011 Device mapper

lore
Share & tools
lore

Benjamin Marzinski

author maintainer
#0 lore raw

PATCH 1/1 multipath: rename netapp.c to ontap.c

This is the second part of the NetApp patch from George Martin. It simply renames netapp.c to ontap.c and edits the Makefile to build it.

---
 libmultipath/prioritizers/Makefile |    3 
 libmultipath/prioritizers/netapp.c |  245 -------------------------------------
 libmultipath/prioritizers/ontap.c  |  245 +++++++++++++++++++++++++++++++++++++
 3 files changed, 245 insertions(+), 248 deletions(-)
libmultipath/prioritizers/Makefile +0 -3
Index: multipath-tools-110412/libmultipath/prioritizers/Makefile
===================================================================
@@ -22,9 +22,6 @@ all: $(LIBS)
 libprioalua.so: alua.o alua_rtpg.o
 	$(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
 
-libprioontap.so: netapp.o
-	$(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
-
 libprio%.so: %.o
 	$(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
 
libmultipath/prioritizers/netapp.c deleted +0 -245

245 lines not on this page · raw message

libmultipath/prioritizers/ontap.c new file +245 -0

245 lines not on this page · raw message

#1 lore raw
Quoted 3 lines · Benjamin Marzinski

This is the second part of the NetApp patch from George Martin. It simply renames netapp.c to ontap.c and edits the Makefile to build it.

Thank you, applied.

Signature · 3 lines
Christophe Varoqui
OpenSVC - Software to scale
http://www.opensvc.com/
#2 lore raw

what is the best configuration of NETAPP multipath

i have deploy multipath on netapp DATA ontap,but there is no improvment on throughput.
-------------------------
if=/dev/zero of=fc-lv bs=4K count=1M about 270~280M/s (netapp lun with multipath)
dd if=/dev/zero of=fc-lv bs=4K count=2M about 150M/s (netapp lun with multipath)
hdparm -t /dev/sda 380.40 MB/sec (local disk)
hdparm -t /dev/sdb 131.24 MB/sec(netapp lun with multipath)
-----------------------
that is the conf
device {

               vendor                  "NETAPP"
               product                 "LUN.*"
               getuid_callout          "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
               features                "1 queue_if_no_path"
               hardware_handler        "0"
               path_selector           "round-robin 0"
               path_grouping_policy    multibus
               failback                immediate
               rr_weight               uniform
               rr_min_io               128
               path_checker            directio
               prio                    netapp
       }
Quoted 15 lines · At 2011-04-27 14:49:57,"Christophe Varoqui" <[email protected]>…
Quoted 3 lines · Benjamin Marzinski

This is the second part of the NetApp patch from George Martin. It simply renames netapp.c to ontap.c and edits the Makefile to build it.

Thank you, applied.

Signature · 8 lines
Christophe Varoqui
OpenSVC - Software to scale
http://www.opensvc.com/

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel