diff options
author | lassulus <git@lassul.us> | 2023-07-23 23:15:16 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-23 23:15:16 +0200 |
commit | 2ff1c5d8aa7a7f4dea5491550bafe623ef87ac19 (patch) | |
tree | 11bca61c5188d9cfd42ff8d85774bea4afd15036 /lass/3modules/drbd.nix | |
parent | 5eb006b52dcd839508eb9937f043abc49a29ab1f (diff) |
l drbd: add more settings by default
Diffstat (limited to 'lass/3modules/drbd.nix')
-rw-r--r-- | lass/3modules/drbd.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lass/3modules/drbd.nix b/lass/3modules/drbd.nix index dbc3db4db..b933158a5 100644 --- a/lass/3modules/drbd.nix +++ b/lass/3modules/drbd.nix @@ -34,6 +34,18 @@ in { net { protocol a; ping-int 10; + csums-alg crc32c; + connect-int 3; + after-sb-0pri discard-older-primary; + after-sb-1pri discard-secondary; + + # seems to be drbd-proxy premium feature + on-congestion pull-ahead; + congestion-fill 1G; + congestion-extents 500; + + sndbuf-size 10M; + max-epoch-size 20000; } device minor ${toString config.blockMinor}; disk ${config.disk}; |