I'm trying to port DM_Crypt to Memory based system.
But crypt_convert_block cut the block to 512Byte and it makes some performance issue?
Could you explain why it set to 512Byte always as follow ?
sg_set_page(&dmreq->sg_in, bv_in->bv_page, 1 << SECTOR_SHIFT,
sg_set_page(&dmreq->sg_out, bv_out->bv_page, 1 << SECTOR_SHIFT
ctx->offset_in += 1 << SECTOR_SHIFT;
ctx->offset_out += 1 << SECTOR_SHIFT;
And what should i do change to 4096Byte ?
There was an old like for this issue. I think that is not conpatible for latest source code.
http://www.mail-archive.com/linux-crypto@xxxxxxxxxxxxxxx/msg00522.html
_______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt