summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-07-08 12:28:08 +0300
committerMike Snitzer <snitzer@redhat.com>2020-07-20 18:17:45 +0300
commit8e225f04d2dd6c1ca1eaecd5b04eaa90284df507 (patch)
treede2df7b622f560d5ae623ca06e3d1a01cf45e92d /Documentation/devicetree
parent39d42fa96ba1b7d2544db3f8ed5da8fb0d5cb877 (diff)
downloadlinux-8e225f04d2dd6c1ca1eaecd5b04eaa90284df507.tar.xz
dm crypt: Enable zoned block device support
Enable support for zoned block devices. This is done by: 1) implementing the target report_zones method. 2) adding the DM_TARGET_ZONED_HM flag to the target features. 3) setting DM_CRYPT_NO_WRITE_WORKQUEUE flag to avoid IO processing via workqueue. 4) Introducing inline write encryption completion to preserve write ordering. The last point is implemented by introducing the internal flag DM_CRYPT_WRITE_INLINE. When set, kcryptd_crypt_write_convert() always waits inline for the completion of a write request encryption if the request is not already completed once crypt_convert() returns. Completion of write request encryption is signaled using the restart completion by kcryptd_async_done(). This mechanism allows using ciphers that have an asynchronous implementation, isolating dm-crypt from any potential request completion reordering for these ciphers. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions