]> 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)
commit585e7226678c21cdc5413f50e6688393b268fd62
tree4bcaa8eacb1246cb25c0905e1aa0c84017a799fa
parent111d1b40229f2d7a95984c2c6e27b378fef8a3b9
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