md: expose max value of behind writes counter
authorPaul Clements <paul.clements@steeleye.com>
Mon, 8 Mar 2010 05:02:37 +0000 (16:02 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:46 +0000 (15:27 +1000)
commit696fcd535b5a8cfc0617e9cf1d9d69a13895cc1e
treeb9f55833c83a41a6e047f0de82b17d9753ad0542
parentee8b81b03dffa1c0075553d01c557714aedb85a1
md: expose max value of behind writes counter

Keep track of the maximum number of concurrent write-behind requests
for an md array and exposed this number in sysfs at
   md/bitmap/max_backlog_used

Writing any value to this file will clear it.

This allows userspace to be involved in tuning bitmap/backlog.

Signed-off-by: Paul Clements <paul.clements@steeleye.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/bitmap.c
drivers/md/bitmap.h