|
@@ -97,6 +97,7 @@ static int bdi_debug_stats_show(struct seq_file *m, void *v)
|
|
|
"BdiDirtyThresh: %8lu kB\n"
|
|
|
"DirtyThresh: %8lu kB\n"
|
|
|
"BackgroundThresh: %8lu kB\n"
|
|
|
+ "BdiWritten: %8lu kB\n"
|
|
|
"b_dirty: %8lu\n"
|
|
|
"b_io: %8lu\n"
|
|
|
"b_more_io: %8lu\n"
|
|
@@ -104,8 +105,13 @@ static int bdi_debug_stats_show(struct seq_file *m, void *v)
|
|
|
"state: %8lx\n",
|
|
|
(unsigned long) K(bdi_stat(bdi, BDI_WRITEBACK)),
|
|
|
(unsigned long) K(bdi_stat(bdi, BDI_RECLAIMABLE)),
|
|
|
- K(bdi_thresh), K(dirty_thresh),
|
|
|
- K(background_thresh), nr_dirty, nr_io, nr_more_io,
|
|
|
+ K(bdi_thresh),
|
|
|
+ K(dirty_thresh),
|
|
|
+ K(background_thresh),
|
|
|
+ (unsigned long) K(bdi_stat(bdi, BDI_WRITTEN)),
|
|
|
+ nr_dirty,
|
|
|
+ nr_io,
|
|
|
+ nr_more_io,
|
|
|
!list_empty(&bdi->bdi_list), bdi->state);
|
|
|
#undef K
|
|
|
|