From: yangsheng Date: Thu, 4 Sep 2008 10:05:50 +0000 (+0000) Subject: Branch b1_8_gate X-Git-Tag: v1_7_100~1^245 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=25e0d671067b33069c383cd2ac3a81a88a9f6b1d;p=fs%2Flustre-release.git Branch b1_8_gate b=16373 i=zhenyu.xu, shengyang Search for ":/" instead of ":" --- diff --git a/lustre/utils/mount_lustre.c b/lustre/utils/mount_lustre.c index d0c8e65..25c12f4 100644 --- a/lustre/utils/mount_lustre.c +++ b/lustre/utils/mount_lustre.c @@ -582,7 +582,8 @@ int main(int argc, char *const argv[]) printf("mounting device %s at %s, flags=%#x options=%s\n", source, target, flags, optcopy); - if (set_tunables(source, strlen(source)) && verbose) + if (!strstr(usource, ":/") && set_tunables(source, strlen(source)) && + verbose) fprintf(stderr, "%s: unable to set tunables for %s" " (may cause reduced IO performance)\n", argv[0], source);