]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: new rbd_journal_object_writethrough_until_flush option
authorJason Dillaman <dillaman@redhat.com>
Wed, 12 Jun 2019 17:36:24 +0000 (13:36 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Jun 2019 14:38:53 +0000 (10:38 -0400)
commit172ad649fb8a2410bdc078a5752b2ca09dc03ac2
tree5fdc47742a9fa49b9c6ebfa4a7b0e3e1960d42df
parentc0322a13c83f590067a120212620ebba15fc8661
librbd: new rbd_journal_object_writethrough_until_flush option

When set to true, the journal will not attempt to batch appends until
after it receives the the first flush request from the user.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/common/options.cc
src/librbd/Journal.cc
src/librbd/Journal.h
src/librbd/io/ImageRequest.cc
src/test/librbd/mock/MockJournal.h
src/test/librbd/test_mock_Journal.cc