]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
buffer: always reserve page aligned buffer
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Mon, 23 Apr 2018 12:54:53 +0000 (14:54 +0200)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Mon, 23 Apr 2018 12:54:53 +0000 (14:54 +0200)
commit98ad3080df073b007bf2fceee85186726b3fa016
treeb24e9e1afad7c69826f1c0ea1c630c3708501acc
parentbaa095efa3c45c410abf9e7ac02af8c88a7d7540
buffer: always reserve page aligned buffer

When doing list::reserve(), always reserve buffers that are
CEPH_PAGE_SIZE aligned, so the probability of the need to realign it
later is reduced.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/common/buffer.cc