]> git.baikalelectronics.ru Git - kernel.git/commit
dm persistent data: use DMERR_LIMIT for errors
authorMike Snitzer <snitzer@redhat.com>
Fri, 21 Dec 2012 20:23:34 +0000 (20:23 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 21 Dec 2012 20:23:34 +0000 (20:23 +0000)
commit36d488e50cdef2bd89fc42871f0b5f02523a95f3
tree6dfbbe972b14927897b6cab55b833b64260d8329
parent7829198814a3c9cab3b44f1cf5abe747e7275eda
dm persistent data: use DMERR_LIMIT for errors

Nearly all of persistent-data is in the IO path so throttle error
messages with DMERR_LIMIT to limit the amount logged when
something has gone wrong.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/persistent-data/dm-block-manager.c
drivers/md/persistent-data/dm-btree-spine.c
drivers/md/persistent-data/dm-space-map-common.c