]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit89ddeb8cb1383bfdfaaeb458f1c4a91e890cc60b
tree6dfbbe972b14927897b6cab55b833b64260d8329
parenta5bd968aeb87af4a3a96ecdd78912832997e8a9d
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