]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0e3dd0c7b88911eeb6a18ec67b3431aa29ca42d
tree4bcaa8eacb1246cb25c0905e1aa0c84017a799fa
parent38ce6c327d383c6fd4c5a71281c1aef897e6402d
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