]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: prevent extent merging across shard boundaries
authorSage Weil <sage@redhat.com>
Fri, 23 Sep 2016 20:40:36 +0000 (16:40 -0400)
committerSage Weil <sage@redhat.com>
Fri, 23 Sep 2016 20:40:36 +0000 (16:40 -0400)
commite86ad68753407b841f54644d120242dcea1cd0e4
treef08a95e05575905d00ce38a4546e230170c7e74e
parent8ddb7fe9c7e5a27415a3462ba96d510c4d793ac3
os/bluestore: prevent extent merging across shard boundaries

We cannot have a single extent span a shard boundary.  If we reach
a shard boundary, stop merging extents.

Note that it might be better to move the shard boundary, but it is
awkward to force that to happen at this point.

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