[dm-devel] dm-bufio cache patches

Joe Thornber thornber at redhat.com
Thu Oct 9 13:07:36 UTC 2014


On Wed, Oct 08, 2014 at 04:17:59PM -0400, Mikulas Patocka wrote:
> > I created dm-bufio patchset that keep some amount of cache indefinitely, 
> > regardless of the timeout (the default is to keep 1/500 of total memory 
> > indefinitely).

I'm running something similar here.  I just put in a hard coded
default rather than basing it on the amount of memory present.  I'm
not sure which I prefer.

I've also switched over to using a rbtree instead of that huge hash
table which consumes 8m.

I'll post clean patches in a bit.

- Joe




More information about the dm-devel mailing list