On 2/26/24 7:47 AM, Weiß, Simone wrote: ...
I can do it this way for sure as well. Another point still in my mind is the superblock: I would like to get rid of the build time switch and carry information about lazy commits enabled in the superblock. As there is J, B, D and R as mode already, a new mode L or such could be added. I will work on this and also take a look at stuff like dmsetup to check if something would be needed there. If there are further points for now on anyone's mind, please tell.
Just FYI: I do not think you need to add anything to dmsetup, but integritysetup (part of the cryptsetup project) needs to understand new metadata and dm-integrity table options. And I guess it needs to add a new option to use the new mode. Perhaps it is best to create an issue for cryptsetup to discuss it, but it will not be merged until the kernel code is on the way to mainline. Milan