]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Striper: rewrite assemble_result without push_front or claim_prepend
authorSage Weil <sage@redhat.com>
Sun, 25 Mar 2018 01:26:37 +0000 (20:26 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Apr 2018 15:07:05 +0000 (10:07 -0500)
commitad9168f39697da9ebb2cf019dea6924df1068efc
tree051bc1b7b85f6900fc9a855f2629fb5a175a9160
parent5585e52c4721a66a3b9266e928b96757215c0277
osdc/Striper: rewrite assemble_result without push_front or claim_prepend

Make a single forward pass across the map while still avoiding tailing
zeroes in the !zero_tail case.

Signed-off-by: Sage Weil <sage@redhat.com>
src/osdc/Striper.cc