Skip to contentSkip to conversation

Could i change 4096B(very wide block mode) for default scatterlist length

dm-crypt 박광진 1 participant 1 message Sep 20, 2010

lore
Share & tools
lore

박광진

author
#0 lore raw

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/[email protected]/msg00522.html

예슬 아빠의 평범한 이야기들
리더쉽.......
그건 말이지...