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:
d2a191d
)
now objid<2 is say 'this new ost' not zero objid.
author
shadow
<shadow>
Thu, 25 Dec 2008 06:30:22 +0000
(06:30 +0000)
committer
shadow
<shadow>
Thu, 25 Dec 2008 06:30:22 +0000
(06:30 +0000)
Branch HEAD
b=17890
i=umka
lustre/mds/mds_lov.c
patch
|
blob
|
history
diff --git
a/lustre/mds/mds_lov.c
b/lustre/mds/mds_lov.c
index
95d10a4
..
d0a2076
100644
(file)
--- a/
lustre/mds/mds_lov.c
+++ b/
lustre/mds/mds_lov.c
@@
-429,7
+429,7
@@
static int mds_lov_get_objid(struct obd_device * obd,
page = idx / OBJID_PER_PAGE();
off = idx % OBJID_PER_PAGE();
data = mds->mds_lov_page_array[page];
- if (data[off]
== 0
) {
+ if (data[off]
< 2
) {
/* We never read this lastid; ask the osc */
struct obd_id_info lastid;
__u32 size = sizeof(lastid);