]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ECBackend: s/union_of/union_insert/
authorsongweibin <song.weibin@zte.com.cn>
Sat, 14 Apr 2018 03:11:50 +0000 (11:11 +0800)
committersongweibin <song.weibin@zte.com.cn>
Sat, 14 Apr 2018 03:35:16 +0000 (11:35 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/ECBackend.cc

index d931c4eb69fa1c67648186da8f1cda0cf3e9a04a..fd36776331fbed44aadb488b40b5bb1fb1adf780 100644 (file)
@@ -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>();
   }