[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] new dm-bufio
- From: Mikulas Patocka <mpatocka redhat com>
- To: Edward Thornber <thornber redhat com>, "Alasdair G. Kergon" <agk redhat com>
- Cc: dm-devel redhat com
- Subject: [dm-devel] new dm-bufio
- Date: Mon, 22 Aug 2011 16:05:28 -0400 (EDT)
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]