OSDN Git Service

dm crypt: move detailed message into debug level
authorMilan Broz <gmazyland@gmail.com>
Wed, 15 May 2019 14:23:43 +0000 (16:23 +0200)
committerMike Snitzer <snitzer@redhat.com>
Thu, 16 May 2019 14:09:20 +0000 (10:09 -0400)
commit7a1cd7238fde6ab367384a4a2998cba48330c398
tree4bcaa8eacb1246cb25c0905e1aa0c84017a799fa
parent0f41fcf78849c902ddca564f99a8e23ccfc80333
dm crypt: move detailed message into debug level

The information about tag size should not be printed without debug info
set. Also print device major:minor in the error message to identify the
device instance.

Also use rate limiting and debug level for info about used crypto API
implementaton.  This is important because during online reencryption
the existing message saturates syslog (because we are moving hotzone
across the whole device).

Cc: stable@vger.kernel.org
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-crypt.c