diff options
author | 2017-03-23 10:23:14 -0400 | |
---|---|---|
committer | 2017-03-24 15:54:24 -0400 | |
commit | ff3af92b4461be773337111daea80bb91b2cd545 (patch) | |
tree | d47c07a67114bbf5cd275745f3591acea359fcee /drivers/md/dm-cache-target.c | |
parent | dm integrity: add recovery mode (diff) | |
download | wireguard-linux-ff3af92b4461be773337111daea80bb91b2cd545.tar.xz wireguard-linux-ff3af92b4461be773337111daea80bb91b2cd545.zip |
dm crypt: use shifts instead of sector_div
sector_div is very slow, so we introduce a variable sector_shift and
use shift instead of sector_div.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-target.c')
0 files changed, 0 insertions, 0 deletions