Jarkko Sakkinen<p>I started my own fork of <a class="hashtag" href="https://social.kernel.org/tag/isync" rel="nofollow noopener noreferrer" target="_blank">#isync</a> (or <a class="hashtag" href="https://social.kernel.org/tag/mbsync" rel="nofollow noopener noreferrer" target="_blank">#mbsync</a>)</p><p><a href="https://codeberg.org/jarkko/isync" rel="nofollow noopener noreferrer" target="_blank">https://codeberg.org/jarkko/isync</a></p><p>It has now couple of commits:</p><pre><code>❯ git log --oneline -2
8ea62c9 (HEAD -> main, origin/main) fix: compile with -fno-lto
f5782aa refactor: open code FORCEASYNC far and near parameters
</code></pre><p>The first is the fix for crash in <a class="hashtag" href="https://social.kernel.org/tag/fedora" rel="nofollow noopener noreferrer" target="_blank">#Fedora</a>. The second open codes <code>FORCEASYNC</code>:</p><pre><code>diff --git a/src/common.h b/src/common.h
index 940e74d..22bd827 100644
--- a/src/common.hb
+++ b/src/common.h
@@ -120,7 +120,8 @@ BIT_ENUM(
ZERODELAY,
KEEPJOURNAL,
FORCEJOURNAL,
- FORCEASYNC(2),
+ FORCEASYNC_F,
+ FORCEASYNC_N,
FAKEEXPUNGE,
FAKEDUMBSTORE,
)
</code></pre><p>I plan to do this for all of those, as it allows to cut some slack out from <code>bit_enum_get.pl</code>. That will lead to a roadmap where eventually the whole ugly script can be rendered out replaced with <code>BIT_UL</code> macro from kernel (msync is GPL 2.0 licensed).</p><p>There is also a <a class="hashtag" href="https://social.kernel.org/tag/zig" rel="nofollow noopener noreferrer" target="_blank">#zig</a> branch but before build can be defined properly the C codebase first needs to be made sound in terms of the build. Then it is relatively easy task to repeal and replace main.c with main.zig.</p><p><a class="hashtag" href="https://social.kernel.org/tag/email" rel="nofollow noopener noreferrer" target="_blank">#email</a></p>