]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: try to gift large extents, then fall back to small extents 29740/head
authorSage Weil <sage@redhat.com>
Mon, 19 Aug 2019 15:09:36 +0000 (10:09 -0500)
committerSage Weil <sage@redhat.com>
Tue, 20 Aug 2019 15:29:27 +0000 (10:29 -0500)
commit91a1fa17470b158ed1fe22a725cd42ac28344237
tree43d5452377d9fb5320d2d6b18287939428b204b5
parente9d4d75d041fdd9cb418ae88ab1e85ff92c45ba4
os/bluestore: try to gift large extents, then fall back to small extents

First try to gift using the larger alloc_size (normally bluefs_alloc_size,
but here max(bluefs_alloc_size,bluefs_shared_alloc_size) just in case the
settings are weird.  If that fails, then try the shared_alloc_size.  If
that fails, fail and complain as before, with an more accurate error
message.

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