Comment 10 for bug 1900438

Revision history for this message
dongdong tao (taodd) wrote : Re: Bcache bypasse writeback on caching device with fragmentation

I used the same steps to verify it and can confirm it's succeeded in bionic-proposed too

fio --name=test1 --filename /dev/bcache0 --direct 1 --rw=randrw --bs=32k,4k --ioengine=libaio --iodepth=1

Then I monitoring the cache_available_percent and writeback rate.
I no longer see the cache_available_percent dropped to 30 and writeback rate stucked at 4k.
I can see the rate got accelerated while the dirty buckets hit the writeback_rate_*_fp_term, which is expected