]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: reshard on truncate if shards past EOF
authorSage Weil <sage@redhat.com>
Fri, 27 Jan 2017 20:59:23 +0000 (15:59 -0500)
committerSage Weil <sage@redhat.com>
Thu, 2 Feb 2017 15:12:08 +0000 (10:12 -0500)
commitc7949d4010812798067f15c6eb847301aa0b0664
tree5c63385fa6447d84c90602675571355269dd0de7
parent92a555ec42b71a83825e452a39eaed238fb318fb
os/bluestore: reshard on truncate if shards past EOF

This ensure we mop up shards past EOF instead of encoding them
empty and confusing future code (that, say, assumes no shards past
EOF).

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