FS-Cache: Limit the number of I/O error reports for a cache
authorDavid Howells <dhowells@redhat.com>
Wed, 5 Dec 2012 13:34:48 +0000 (13:34 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 20 Dec 2012 22:10:44 +0000 (22:10 +0000)
commit75bc411388f4aeb9fb0381bd56eb5d67193ed9a1
tree78248c99fe37dd24ee22b421e7716e85e65e2ab3
parentc2d35bfe4b508451b75b5b6bc60a08dbdc44f952
FS-Cache: Limit the number of I/O error reports for a cache

Limit the number of I/O error reports for a cache to 1 to prevent massive
amounts of noise.  After the first I/O error the cache is taken off line
automatically, so must be restarted to resume caching.

Signed-off-by: David Howells <dhowells@redhat.com>
fs/fscache/cache.c