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:
3d38551
)
- disable fldb updates till DMU/DMU OSD supports binary keys
author
alex
<alex>
Tue, 20 Oct 2009 11:34:08 +0000
(11:34 +0000)
committer
alex
<alex>
Tue, 20 Oct 2009 11:34:08 +0000
(11:34 +0000)
lustre/fld/fld_index.c
patch
|
blob
|
history
diff --git
a/lustre/fld/fld_index.c
b/lustre/fld/fld_index.c
index
10d6344
..
747cee2
100644
(file)
--- a/
lustre/fld/fld_index.c
+++ b/
lustre/fld/fld_index.c
@@
-189,11
+189,15
@@
int fld_index_create(struct lu_server_fld *fld,
LASSERT(range_is_sane(range));
dt_dev = lu2dt_dev(fld->lsf_obj->do_lu.lo_dev);
+#if 0
+ /* XXX: DMU/DMU OSD don't support binary keys yet */
rc = dt_obj->do_index_ops->dio_insert(env, dt_obj,
fld_rec(env, range),
fld_key(env, start),
th, BYPASS_CAPA, 1);
-
+#else
+ rc = 0;
+#endif
CDEBUG(D_INFO, "%s: insert given range : "DRANGE" rc = %d\n",
fld->lsf_name, PRANGE(range), rc);
RETURN(rc);