]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: make do_osd_ops receive lvalue reference to osd ops vector 39772/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Sun, 16 May 2021 15:23:19 +0000 (23:23 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Mon, 17 May 2021 13:49:57 +0000 (21:49 +0800)
commit0a0848ddfd29228ac23e239f1a48e050e96b564f
tree760b1cdde21e4b3402c3314329914dd804bf062b
parentf7181ab2f65803ecd8204f8f4f5aad4713b747f3
crimson/osd: make do_osd_ops receive lvalue reference to osd ops vector

otherwise any async execution of lambdas in PG::do_osd_ops_execute() may
reference a outdated osd_op

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/osd/osd_operations/internal_client_request.cc
src/crimson/osd/pg.cc
src/crimson/osd/pg.h