On 10/19/2016 06:41 AM, Maxim Patlasov wrote:
> Previos patch adding support for dm-crypt ploops naively suggested
> that every time we build dm-crypt device, crypt_ctr() is called, and
> vice versa - every time we dismantle it, crypt_dtr() is called. But
> in practice, crypt_ctr/dtr is called
Previos patch adding support for dm-crypt ploops naively suggested
that every time we build dm-crypt device, crypt_ctr() is called, and
vice versa - every time we dismantle it, crypt_dtr() is called. But
in practice, crypt_ctr/dtr is called more than once because md->map
is RCU-protected. For