You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ocf_cleaning_set_hot_cache_line() should be called each time a dirty cache line is accessed. Instead it is called only when the cache line is changing it's state from clean to dirty.
How to reproduce:
Start a cache in WB and configure alru casadm -X -n cleaning-alru -i 1 -w 0 -s 30 -b 100 -t 0
Issue writes to single cache line fio --name=nvme --numjobs=1 --iodepth=4 --bs=4k --rw=write --ioengine=libaio --direct=1 --group_reporting=1 --filename=/dev/cas1-1 --filesize=4k --runtime=60 --time_based=1
Dirty block flushes as soon as fio is completed
Expected result:
Dirty block flushed 30 seconds (--staleness-time 30) after fio is completed.
The text was updated successfully, but these errors were encountered:
ocf_cleaning_set_hot_cache_line()
should be called each time a dirty cache line is accessed. Instead it is called only when the cache line is changing it's state from clean to dirty.How to reproduce:
casadm -X -n cleaning-alru -i 1 -w 0 -s 30 -b 100 -t 0
fio --name=nvme --numjobs=1 --iodepth=4 --bs=4k --rw=write --ioengine=libaio --direct=1 --group_reporting=1 --filename=/dev/cas1-1 --filesize=4k --runtime=60 --time_based=1
Expected result:
Dirty block flushed 30 seconds (
--staleness-time 30
) after fio is completed.The text was updated successfully, but these errors were encountered: