projects
/
wrapfs-5.3.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaee47
)
libceph: set 'exists' flag for newly up osd
author
Yan, Zheng
<zyan@redhat.com>
Fri, 28 Aug 2015 09:59:35 +0000
(17:59 +0800)
committer
Sasha Levin
<alexander.levin@verizon.com>
Mon, 8 Aug 2016 01:59:06 +0000
(21:59 -0400)
[ Upstream commit
6dd74e44dc1df85f125982a8d6591bc4a76c9f5d
]
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
net/ceph/osdmap.c
patch
|
blob
|
history
diff --git
a/net/ceph/osdmap.c
b/net/ceph/osdmap.c
index b8c3fde5b04f4e7539ba80a0e36ce4654352a71d..a9ec2e714c409c43e07d405884e01db6f12b3175 100644
(file)
--- a/
net/ceph/osdmap.c
+++ b/
net/ceph/osdmap.c
@@
-1275,7
+1275,7
@@
struct ceph_osdmap *osdmap_apply_incremental(void **p, void *end,
ceph_decode_addr(&addr);
pr_info("osd%d up\n", osd);
BUG_ON(osd >= map->max_osd);
- map->osd_state[osd] |= CEPH_OSD_UP;
+ map->osd_state[osd] |= CEPH_OSD_UP
| CEPH_OSD_EXISTS
;
map->osd_addr[osd] = addr;
}