]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore/BlueFS: write into page-aligned buffers from rocksdb
authorSage Weil <sage@redhat.com>
Thu, 22 Sep 2016 19:42:06 +0000 (15:42 -0400)
committerSage Weil <sage@redhat.com>
Sun, 16 Oct 2016 14:32:51 +0000 (10:32 -0400)
commit47c60699b8d818ca72dbc59c70aa41282304adda
tree7b5a55ab821ed157c2302f0b06d75bf25655efbe
parentcf0ca97b648bf4dd257923a9e285fd753875c842
os/bluestore/BlueFS: write into page-aligned buffers from rocksdb

The BlueRocksEnv uses the append(const char *, size_t) appender.  Ensure
that this data is copied into a page-aligned buffer, and that we "pad" the
write out with the remainder of the page.

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