]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: verify that fnodes respect the bluefs alloc_size
authorSage Weil <sage@redhat.com>
Sat, 1 Feb 2020 17:46:18 +0000 (11:46 -0600)
committerSage Weil <sage@redhat.com>
Fri, 7 Feb 2020 21:56:10 +0000 (15:56 -0600)
commit2232828dc3cbb7a8d1522999e13c56dad74da0cb
tree532b4bbef45998472ca1a1c747b60451151c24d7
parentd8f8f4ce119ed6bd449689eb3142ea4ddca29afd
os/bluestore/BlueFS: verify that fnodes respect the bluefs alloc_size

If the files aren't respecting the configured allocator size, we will
leak (granular) space when they are deleted.

And this shouldn't happen.

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