md: dm-req-crypt Recalculate nr_phys_segments
Recalculate nr_phys_segments after pages are allocated for write requests. Move _req_crypt_io_pool allocation and de-allocation to ctr and dtr instead of driver init and exit. Change-Id: I8576dce1f7c9bc39dcc975762562fb84a349bba7 Acked-by:Baranidharan Muthukumaran <bmuthuku@qti.qualcomm.com> Signed-off-by:
Dinesh K Garg <dineshg@codeaurora.org>
Loading
Please register or sign in to comment