]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/Filestore: fix wbthrottle assert.
authorXiaoxi Chen <xiaoxchen@ebay.com>
Wed, 29 Mar 2017 03:26:43 +0000 (20:26 -0700)
committerXiaoxi Chen <xiaoxchen@ebay.com>
Wed, 26 Apr 2017 06:50:40 +0000 (23:50 -0700)
commit68f4ee62cabeac16ad3e3df0e49638709ff6bdc7
tree0fa6fbc9411f208542fd944c49e39b3cf42eb2b4
parent68bc50941303c8ccaa489342204b1f5fcc63b12b
os/Filestore: fix wbthrottle assert.

When filestore_wbthrottle_*_*_start_flusher = 0, ceph-osd
will assert on startup due to pending_wbs.empty() == True.

It seems valid for user to set start_flusher to 0 as intend to
flush aggressively all the time, to minimize the impact of
syncfs().

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
src/os/filestore/WBThrottle.cc