[dm-devel] [PATCH] multipath: changes to NetApp's prioritizer

Christophe Varoqui christophe.varoqui at gmail.com
Tue Apr 26 08:48:39 UTC 2011


On mar., 2011-04-26 at 16:38 +0800, yue wrote:
> which version of multipath?

upstream. you'd have to compile the multipath-tools git head from
git.kernel.org to test.

> my invironment is fedora12  multipath 0.4.9.  multibus for netapp
> there is not improvment in throughput?

don't get you expectation too high though ... this patch is only a
rename from 'netapp' to 'ontap'. I can see no fonctional change except:

@@ -194,14 +194,14 @@ static int netapp_prio(const char *dev, int fd)
 
        memset(&results, 0, sizeof (results));
        rc = send_gva(dev, fd, 0x41, results, &results_size);
-       if (rc == 0) {
+       if (rc >= 0) {
                tot_len = results[0] << 24 | results[1] << 16 |
                          results[2] << 8 | results[3];
                if (tot_len <= 8) {







More information about the dm-devel mailing list