]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/bluefs_types: consolidate contiguous extents 28821/head
authorSage Weil <sage@redhat.com>
Mon, 1 Jul 2019 14:33:22 +0000 (09:33 -0500)
committerSage Weil <sage@redhat.com>
Mon, 1 Jul 2019 17:05:38 +0000 (12:05 -0500)
commit4f3ce9bc201c20d10d739d42e3f7018408f110a6
treeabc28cf67ba5759784577098a0731752bc9673e6
parent692b78891f0afedaf641c0dfb0c0a01805a00ea2
os/bluestore/bluefs_types: consolidate contiguous extents

If we allocate a new extent that is contiguous with the last extent,
just extend it.  This avoids having long vectors of continguous extents
when a single large extent would suffice--especially with log files.

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