aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/backing-dev.h
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-06-12 08:45:52 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-09-11 03:20:26 -0400
commitd993831fa7ffeb89e994f046f93eeb09ec91df08 (patch)
treeda4f94bbf022c83988bda71adf1f1b3a88cb4592 /include/linux/backing-dev.h
parentf09b00d3e789a88fa6c7c03cedc62cb65c1de0cb (diff)
writeback: add name to backing_dev_info
This enables us to track who does what and print info. Its main use is catching dirty inodes on the default_backing_dev_info, so we can fix that up. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/backing-dev.h')
-rw-r--r--include/linux/backing-dev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/backing-dev.h b/include/linux/backing-dev.h
index d045f5f615c7..2f218b7cb063 100644
--- a/include/linux/backing-dev.h
+++ b/include/linux/backing-dev.h
@@ -66,6 +66,8 @@ struct backing_dev_info {
66 void (*unplug_io_fn)(struct backing_dev_info *, struct page *); 66 void (*unplug_io_fn)(struct backing_dev_info *, struct page *);
67 void *unplug_io_data; 67 void *unplug_io_data;
68 68
69 char *name;
70
69 struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS]; 71 struct percpu_counter bdi_stat[NR_BDI_STAT_ITEMS];
70 72
71 struct prop_local_percpu completions; 73 struct prop_local_percpu completions;