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:
dc05ba8
)
b=16227
author
kalpak
<kalpak>
Thu, 31 Jul 2008 07:50:59 +0000
(07:50 +0000)
committer
kalpak
<kalpak>
Thu, 31 Jul 2008 07:50:59 +0000
(07:50 +0000)
i=adilger
i=shadow
add lsm argument to obd_get_info. For some get_info calls the lsm was being sent as part of the key which was a hack. Now lsm can be sent as an argument.
lustre/include/obd_class.h
patch
|
blob
|
history
diff --git
a/lustre/include/obd_class.h
b/lustre/include/obd_class.h
index
9c37b03
..
351c140
100644
(file)
--- a/
lustre/include/obd_class.h
+++ b/
lustre/include/obd_class.h
@@
-332,7
+332,8
@@
static inline int class_devno_max(void)
}
static inline int obd_get_info(struct obd_export *exp, __u32 keylen,
- void *key, __u32 *vallen, void *val)
+ void *key, __u32 *vallen, void *val,
+ struct lov_stripe_md *lsm)
{
int rc;
ENTRY;
@@
-340,7
+341,7
@@
static inline int obd_get_info(struct obd_export *exp, __u32 keylen,
EXP_CHECK_OP(exp, get_info);
EXP_COUNTER_INCREMENT(exp, get_info);
- rc = OBP(exp->exp_obd, get_info)(exp, keylen, key, vallen, val);
+ rc = OBP(exp->exp_obd, get_info)(exp, keylen, key, vallen, val
, lsm
);
RETURN(rc);
}