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:
d549a0d
)
create_iam: fixes: 0. wrong .ilr_indirect_levels, 1. issue warning at the end
author
nikita
<nikita>
Wed, 31 May 2006 16:25:45 +0000
(16:25 +0000)
committer
nikita
<nikita>
Wed, 31 May 2006 16:25:45 +0000
(16:25 +0000)
lustre/utils/create_iam.c
patch
|
blob
|
history
diff --git
a/lustre/utils/create_iam.c
b/lustre/utils/create_iam.c
index
f5362e9
..
c9c2916
100644
(file)
--- a/
lustre/utils/create_iam.c
+++ b/
lustre/utils/create_iam.c
@@
-153,7
+153,7
@@
int main(int argc, char **argv)
.ilr_keysize = cpu_to_le16(keysize),
.ilr_recsize = cpu_to_le16(recsize),
.ilr_ptrsize = cpu_to_le16(ptrsize),
- .ilr_indirect_levels =
cpu_to_le16(1)
+ .ilr_indirect_levels =
0
};
limit = (void *)(root + 1);
@@
-207,5
+207,8
@@
int main(int argc, char **argv)
fprintf(stderr, "Unable to write leaf node: %m (%i)\n", rc);
return 1;
}
+ if (verbose > 0)
+ fprintf(stderr, "Don't forget to umount/mount "
+ "before accessing iam from the kernel!\n");
return 0;
}