]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: fix reclaim_blocks 12725/head
authorSage Weil <sage@redhat.com>
Fri, 30 Dec 2016 17:22:42 +0000 (12:22 -0500)
committerSage Weil <sage@redhat.com>
Fri, 30 Dec 2016 17:22:42 +0000 (12:22 -0500)
commit882ad33b527c9ea2224dcdc28f9fa3f459ee4712
treeacb6cfe67fc83b02bfee0835b0e6d4c4ed133e50
parent8e313a24965b6ab75e6f994bbd9ddf248e382f0d
os/bluestore/BlueFS: fix reclaim_blocks

We need to return all extents to the caller.  The current code
fails to assign *offset so it appears like a single extent from
the start of the device, which is very wrong.

Fixes: http://tracker.ceph.com/issues/18368
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h
src/os/bluestore/BlueStore.cc