]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: splice cr: don't wake up writer continuously
authorYehuda Sadeh <yehuda@redhat.com>
Wed, 11 Apr 2018 01:11:10 +0000 (18:11 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Wed, 25 Apr 2018 16:03:53 +0000 (09:03 -0700)
commit6caa02b29a79255405fa3d2d5a1a1115518cc4ed
tree50f10fe535bf8630d8c3404b6572e1367e12b807
parent2ed2ed212a0863fb245de73ae169d66740660c98
rgw: splice cr: don't wake up writer continuously

Just send a notification to the writer once we passed a threshold. With
a slow writer we'd wake it up continuously while it's waiting for
the data to flush.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_cr_rest.cc
src/rgw/rgw_cr_rest.h