]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: put bluefs in the middle of the shared device 14873/head
authorSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 17:05:35 +0000 (12:05 -0500)
committerSage Weil <sage@redhat.com>
Fri, 28 Apr 2017 17:05:35 +0000 (12:05 -0500)
commit50f20d39f53c54d76e9199d41faa0104cd2ec0d7
tree0fb8f9a4474d1418320a88a16b74b3ebd784a60c
parentebdce966de53d972ebc860b94e275425aad6fbda
os/bluestore: put bluefs in the middle of the shared device

If this is an HDD, this will be a shorter average seek distance for an
aged device.

If it is an SSD, it doesn't matter, so don't bother with making this
conditional on is_rotational().

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