我想在 DM-SMR 硬盘上使用 btrfs 设置加密驱动器。我担心 dm-crypt 不会向 btrfs 公开 ZNS 接口。
我尝试搜索,但只得到这些:
https://news.ycombinator.com/item?id=26900705
Nitpick: the device mapper zoned-device support isn't built on top of the device mapper encrypted-device support; both dm-crypt and dm-zoned are independent device mapper targets.
This is native support for btrfs-on-SMR, without the dm-zoned layer in between. DM-zoned is meant for filesystems who are zone-unaware, and it works by batching writes and redirecting blocks into appropriate areas. Having the filesystem allocator be aware of the underlying device's zones allows for more efficient/performant use of the zones.
那么 dm-crypt 能与 DM-SMR 上的 btrfs 配合良好吗?