schoebel / mars

Asynchronous Block-Level Storage Replication
GNU General Public License v2.0
233 stars 35 forks source link

Any chance to run on kernel 6.1+ (Debian stable) ? #44

Open woodholly opened 2 months ago

woodholly commented 2 months ago

Debian stable is running kernel 6.1 right now, I tried to port mars to 6.1 but failed immidiately. Then I tried to port mars to kernel 5.10 (to run on debian oldstable), and failed again - so many changes to kernel_setsockopt I am not familiar with, but I am still trying :) So we stuck to 4.9 and 5.4 kernel ? What OS would you recommend for 5.4 ?

Why: there is no alternative to mars, DRBD geo replication is fake without their proprietary DRDB Proxy with unknown price lol.

woodholly commented 2 months ago

UPDATE: after two days of kernel hacking I have found WIP-qio-for-5.10 branch and managed to compile mars on debian oldstable kernel 5.10 without any modifications, thanks :+1:

alexpacio commented 1 month ago

I'm also interested into this feature, especially on RHEL9/OL9 kernels. I'll try to make my attempt to compile it against the OL9 5.15 kernel, but it'd be nice to get it working against the latest upstream kernels as well from the 6.x branch