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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Device Mapper Devel]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux