]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: the condition of last epoch <= superblock.newest_map epoch has been
authorlinbing <hawkerous@gmail.com>
Fri, 9 Jun 2017 02:14:59 +0000 (10:14 +0800)
committerlinbing <hawkerous@gmail.com>
Fri, 9 Jun 2017 02:14:59 +0000 (10:14 +0800)
commit13488adf30b3d2db28efd0e371c1e8753f1ac872
tree3bf52283a81ecd9e18cd3febc851eed78be61d6f
parent8a0d6720d9833a338ce2df69aafe8e3e75383bf7
osd: the condition of last epoch <= superblock.newest_map epoch has been
check before we puts diff osdmap to transaction, it's unnecessary to
check it again after that. last and superblock.newest_map does not
be changed during that time.

Signed-off-by: linbing <linbing@t2cloud.net>
src/osd/OSD.cc