]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Journal: replace the journal throttle with fullness backoff throttle
authorSamuel Just <sjust@redhat.com>
Thu, 11 Feb 2016 23:03:49 +0000 (15:03 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Feb 2016 19:11:46 +0000 (11:11 -0800)
commitf54e563c694736defff285091de67b8878df1c7f
treef9a9dd6aa1f050bd071c68215fa6013f0f7c9933
parent83baa1f8d293b64b2dbb21e63dfccfa4fa6d476c
Journal: replace the journal throttle with fullness backoff throttle

The existing FileJournal::throttle_(ops|bytes) throttles overlap with
the FileStore op queue throttles.  It doesn't seem important whether
pending ops are waiting on the journal or the backing fs, so the
FileJournal ones are out.  Instead, there is now a throttle which
is taken in queue_transaction and released in _committed_thru
(after sync) which reflects the current fullness of the journal
and gradually delays ops as the journal fills up.  The intention is
to smooth out workloads on small journals.

Signed-off-by: Samuel Just <sjust@redhat.com>
src/CMakeLists.txt
src/common/config_opts.h
src/os/Makefile.am
src/os/ObjectStore.h
src/os/filestore/FileJournal.cc
src/os/filestore/FileJournal.h
src/os/filestore/FileStore.cc
src/os/filestore/Journal.h
src/os/filestore/JournalThrottle.cc [new file with mode: 0644]
src/os/filestore/JournalThrottle.h [new file with mode: 0644]