Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8e909a
)
Branch HEAD
author
yangsheng
<yangsheng>
Thu, 4 Sep 2008 10:06:19 +0000
(10:06 +0000)
committer
yangsheng
<yangsheng>
Thu, 4 Sep 2008 10:06:19 +0000
(10:06 +0000)
b=16373
i=zhenyu.xu, shengyang
Search for ":/" instead of ":"
lustre/utils/mount_lustre.c
patch
|
blob
|
history
diff --git
a/lustre/utils/mount_lustre.c
b/lustre/utils/mount_lustre.c
index
e41a1c2
..
0dd13c6
100644
(file)
--- a/
lustre/utils/mount_lustre.c
+++ b/
lustre/utils/mount_lustre.c
@@
-583,7
+583,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);