[dm-devel] [PATCHES] convert dm-thin to use dm-bufio
Joe Thornber
thornber at redhat.com
Wed Aug 17 08:26:57 UTC 2011
On Tue, Aug 16, 2011 at 06:03:00PM -0400, Mikulas Patocka wrote:
> The working set is 2% of memory or 1/4 of vmalloc space (whichever is
> smaller). This can be changed in
> "/sys/module/dm_bufio/parameters/dm_bufio_cache_size".
>
> Buffers are freed when they are unused for 60 seconds (can be changed in
> "/sys/module/dm_bufio/parameters/dm_bufio_max_age").
>
> Total size is divided by the number of active clients using dm-bufio. So
> that each client gets a fair share.
>
> Writeback is done on commit. When 3/4 of the cache size is used,
> background writeback is started.
This all sounds good; get the locking interface in and I'll switch to
bufio straight away.
- Joe
More information about the dm-devel
mailing list