summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2002-09-15 08:50:24 -0700
committerChristoph Hellwig <hch@hera.kernel.org>2002-09-15 08:50:24 -0700
commitfca174ccac67746acd88af0ce8f9f4178ea303b2 (patch)
tree71ba72c4326113e3fc1b22131353badc2e0dfff4 /include/linux/blkdev.h
parente572ef2ea320724ba32094c4b4817dfde4a4bef3 (diff)
[PATCH] resurrect /proc/meminfo:Buffers
The /proc/meminfo:Buffers statistic is quite useful - it tells us how effective we are being at caching filesystem metadata. For example, increases in this figure are a measure of success of the slablru and buffer_head-limitation patches. The patch resurrects buffermem accounting. The metric is calculated on-demand, via a walk of the blockdev hashtable.
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 7ef082f9462f..70781c985caa 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -327,7 +327,7 @@ extern struct backing_dev_info *blk_get_backing_dev_info(struct block_device *bd
extern int blk_rq_map_sg(request_queue_t *, struct request *, struct scatterlist *);
extern void blk_dump_rq_flags(struct request *, char *);
extern void generic_unplug_device(void *);
-
+extern long nr_blockdev_pages(void);
/*
* tag stuff