FS-Cache: Add a retirement stat counter

Add a stat counter to count retirement events rather than ordinary release
events (the retire argument to fscache_relinquish_cookie()).

Signed-off-by: David Howells <dhowells@redhat.com>
Šī revīzija ir iekļauta:
David Howells
2009-11-19 18:11:38 +00:00
vecāks 201a15428b
revīzija 2175bb06dc
3 mainīti faili ar 7 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -415,6 +415,8 @@ void __fscache_relinquish_cookie(struct fscache_cookie *cookie, int retire)
unsigned long event;
fscache_stat(&fscache_n_relinquishes);
if (retire)
fscache_stat(&fscache_n_relinquishes_retire);
if (!cookie) {
fscache_stat(&fscache_n_relinquishes_null);