]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
bluestore/BlueFS: prevent fragmented bufferlists in log writes
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 26 Apr 2018 07:45:37 +0000 (09:45 +0200)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Fri, 27 Apr 2018 07:06:01 +0000 (09:06 +0200)
commit8f14b5ae334cdfa8cdd74a5682e2e6d7f17d5f1b
tree6c02b247efb6cc0ffaea5224e78a90d51d7ffde0
parent01134da2f18d8b5819c4c80b10255ca08708b6c1
bluestore/BlueFS: prevent fragmented bufferlists in log writes

Instead of adding new bufferptrs into log writer's bufferlist,
encode required data using single, pre-aligned bufferptr. This
prevents bufferlist rebuilds during aio_write to WAL which is way
more costly than explicitly reserving buffer and writing to that.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/os/bluestore/BlueFS.cc
src/os/bluestore/bluefs_types.cc