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: NMikulas Patocka <mpatocka@redhat.com> Signed-off-by: NMike Snitzer <snitzer@redhat.com>
Showing
想要评论请 注册 或 登录