]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd: fix memory leak at EC read
authorcuixf <cuixiaofei@sangfor.com.cn>
Mon, 11 Jun 2018 02:06:42 +0000 (22:06 -0400)
committerningtao63358 <ningtao@sangfor.com>
Mon, 11 Jun 2018 02:07:27 +0000 (22:07 -0400)
commit488a2a9a725ff428a9511946c43e971866350c1a
tree3c88c1f9025d7be71a0c65984ec7c944f4707f0d
parent3eb1679b1fadb6adb6ff4ed3f1f6069a85f4bbcd
osd: fix memory leak at EC read

Clean the in_progess and shard_to_read_map when the read op is complete,
to prevent memory leak and primary osd crash.

Signed-off-by: xiaofei cui <cuixiaofei@sangfor.com>
src/osd/ECBackend.cc