Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-9859 lod: use linux kernel bitmap API
[fs/lustre-release.git]
/
lustre
/
lod
/
lod_internal.h
diff --git
a/lustre/lod/lod_internal.h
b/lustre/lod/lod_internal.h
index
4bf037b
..
68d890d
100644
(file)
--- a/
lustre/lod/lod_internal.h
+++ b/
lustre/lod/lod_internal.h
@@
-87,7
+87,8
@@
struct lod_avoid_guide {
/* number of allocated array items */
unsigned int lag_oaa_size;
/* bitmap of OSTs avoid guidance */
/* number of allocated array items */
unsigned int lag_oaa_size;
/* bitmap of OSTs avoid guidance */
- struct cfs_bitmap *lag_ost_avoid_bitmap;
+ unsigned long *lag_ost_avoid_bitmap;
+ u32 lag_ost_avoid_size;
/* how many OSTs are available for alloc */
__u32 lag_ost_avail;
};
/* how many OSTs are available for alloc */
__u32 lag_ost_avail;
};