summaryrefslogtreecommitdiff
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2017-03-23 17:23:14 +0300
committerMike Snitzer <snitzer@redhat.com>2017-03-24 22:54:24 +0300
commitff3af92b4461be773337111daea80bb91b2cd545 (patch)
treed47c07a67114bbf5cd275745f3591acea359fcee /Documentation/device-mapper
parentc2bcb2b702e4684e566d295d687228498184e0c4 (diff)
downloadlinux-ff3af92b4461be773337111daea80bb91b2cd545.tar.xz
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 'Documentation/device-mapper')
0 files changed, 0 insertions, 0 deletions