• Joe Thornber's avatar
    dm bufio: evict buffers that are past the max age but retain some buffers · 33096a78
    Joe Thornber authored
    These changes help keep metadata backed by dm-bufio in-core longer which
    fixes reports of metadata churn in the face of heavy random IO workloads.
    
    Before, bufio evicted all buffers older than DM_BUFIO_DEFAULT_AGE_SECS.
    Having a device (e.g. dm-thinp or dm-cache) lose all metadata just
    because associated buffers had been idle for some time is unfriendly.
    
    Now, the user may now configure the number of bytes that bufio retains
    using the 'retain_bytes' module parameter.  The default is 256K.
    
    Also, the DM_BUFIO_WORK_TIMER_SECS and DM_BUFIO_DEFAULT_AGE_SECS
    defaults were quite low so increase them (to 30 and 300 respectively).
    Signed-off-by: default avatarJoe Thornber <ejt@redhat.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    33096a78
Name
Last commit
Last update
Documentation Loading commit data...
arch Loading commit data...
block Loading commit data...
crypto Loading commit data...
drivers Loading commit data...
firmware Loading commit data...
fs Loading commit data...
include Loading commit data...
init Loading commit data...
ipc Loading commit data...
kernel Loading commit data...
lib Loading commit data...
mm Loading commit data...
net Loading commit data...
samples Loading commit data...
scripts Loading commit data...
security Loading commit data...
sound Loading commit data...
tools Loading commit data...
usr Loading commit data...
virt/kvm Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
Kbuild Loading commit data...
Kconfig Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README Loading commit data...
REPORTING-BUGS Loading commit data...