summaryrefslogtreecommitdiffstats
path: root/lass/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-25 20:39:35 +0200
committertv <tv@krebsco.de>2023-07-25 20:39:35 +0200
commit5d1b0675cf179f863a5b34b67661a953197b6057 (patch)
treedd9c83dff894fd97cee61dd1b2df3eaeecbbd740 /lass/3modules
parenta2c9ad05b2e8237b915a100e1e38ca0f3d18526c (diff)
parent8eab63eaa81717391269a61355cb7fb64341fd1a (diff)
Merge remote-tracking branch 'orange/master'
Diffstat (limited to 'lass/3modules')
-rw-r--r--lass/3modules/drbd.nix12
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};