]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: force reshard if new extent spans shard boundary 11451/head
authorSage Weil <sage@redhat.com>
Thu, 13 Oct 2016 13:42:17 +0000 (09:42 -0400)
committerSage Weil <sage@redhat.com>
Thu, 13 Oct 2016 13:42:17 +0000 (09:42 -0400)
commitc908cae176f8ba0bfccde393bcf96931adc9253e
tree54bd24a55862db55d86acc1298b92f28433132dc
parent1906ac9bcf2eb9111f75e0b27fd34fc1aee26c22
os/bluestore: force reshard if new extent spans shard boundary

A new write may create a new lextent that spans an
existing shard boundary.  If that happens, set a flag
so that we force a reshard when the onode is written.

Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h