All of lore.kernel.org
 help / color / mirror / Atom feed
* new dm-bufio
@ 2011-08-22 20:05 Mikulas Patocka
  2011-08-23 11:30 ` Joe Thornber
  0 siblings, 1 reply; 12+ messages in thread
From: Mikulas Patocka @ 2011-08-22 20:05 UTC (permalink / raw)
  To: Edward Thornber, Alasdair G. Kergon; +Cc: dm-devel

I uploaded new dm-bufio patch at 
http://people.redhat.com/mpatocka/patches/kernel/dm-thinp-bufio/dm-bufio.patch

It reports the number of allocated bytes in 
"/sys/module/dm_bufio/parameters/". There is a file "total_allocated" that 
contains the number of bytes allocated for buffer cache. There are files 
"allocated_get_free_pages", "allocated_kmalloc", "allocated_vmalloc" that 
contain a number of allocated bytes with each method.

BTW. if you store "1" in "cache_size", it switches to a mode where it 
won't allocate any memory during operation, relying only on preallocated 
reserves --- useful for testing reservation deadlocks.

Mikulas

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-08-30  5:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-22 20:05 new dm-bufio Mikulas Patocka
2011-08-23 11:30 ` Joe Thornber
2011-08-23 11:44   ` Alasdair G Kergon
2011-08-23 14:16   ` Mikulas Patocka
2011-08-23 18:54     ` Christoph Hellwig
2011-08-29 18:53       ` Mikulas Patocka
2011-08-29 18:53         ` [dm-devel] " Mikulas Patocka
2011-08-30  1:49         ` [xfs-masters] " Dave Chinner
2011-08-30  1:49           ` [xfs-masters] [dm-devel] " Dave Chinner
2011-08-30  5:27           ` [xfs-masters] " Christoph Hellwig
2011-08-30  5:27             ` [xfs-masters] [dm-devel] " Christoph Hellwig
2011-08-24 11:13     ` Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.