From: songweibin Date: Sat, 14 Apr 2018 03:11:50 +0000 (+0800) Subject: osd/ECBackend: s/union_of/union_insert/ X-Git-Tag: v13.1.0~239^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=066e09df4bccaafbe098a74247d5cfb3358d9f0e;p=ceph.git osd/ECBackend: s/union_of/union_insert/ Signed-off-by: songweibin --- diff --git a/src/osd/ECBackend.cc b/src/osd/ECBackend.cc index d931c4eb69fa..fd36776331fb 100644 --- a/src/osd/ECBackend.cc +++ b/src/osd/ECBackend.cc @@ -2077,9 +2077,7 @@ void ECBackend::objects_read_async( sinfo.offset_len_to_stripe_bounds( make_pair(i->first.get<0>(), i->first.get<1>())); - extent_set esnew; - esnew.insert(tmp.first, tmp.second); - es.union_of(esnew); + es.union_insert(tmp.first, tmp.second); flags |= i->first.get<2>(); }