]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
tools/rbd-nbd: change block size to 4K for LUKS2 images 38985/head
authorOr Ozeri <oro@il.ibm.com>
Wed, 20 Jan 2021 13:36:10 +0000 (15:36 +0200)
committerOr Ozeri <oro@il.ibm.com>
Wed, 20 Jan 2021 13:37:16 +0000 (15:37 +0200)
commit988039f6ec9210d13f7bdaee9d73ac009c0ceb91
tree0cc1085a090b07ccce7e82ccdea7e502d99b36f9
parent29224ad49588a3fdbc8fb66e30a7f1a040172e17
tools/rbd-nbd: change block size to 4K for LUKS2 images

This commit sets the NBD device block size to 4K for images encrypted using LUKS2 (whose sector size is by default 4K(.

Signed-off-by: Or Ozeri <oro@il.ibm.com>
src/tools/rbd_nbd/rbd-nbd.cc