diff options
author | aszlig <aszlig@nix.build> | 2020-11-10 07:54:36 +0100 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2020-11-10 08:43:50 +0100 |
commit | 532daa8a52c0d3b9637177ae26f4b149f8c64c10 (patch) | |
tree | e405a1986b30f41f89092608c62b5e67cf05795d | |
parent | 815704413e9f9102ca1b31e4549014a89a144be4 (diff) |
dnyarri: Set bcache mode to writethrough
I already have this running in writethrough for long enough so that I'm pretty confident that a disaster like last time[1] should not happen anytime soon so that hereby I'm making this permanent in the machine configuration. The reason why I set this to writearound initially instead of writethrough, was that I just wanted to go with the most conservative option first. Of course, during scrub, we still disable all caching, so we should not generate too much wear on the SSD. [1]: 15008e69542774c441e388ad4c2e28a2d27f9ba0 Signed-off-by: aszlig <aszlig@nix.build>
-rw-r--r-- | machines/aszlig/dnyarri.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/machines/aszlig/dnyarri.nix b/machines/aszlig/dnyarri.nix index 1258636d..3effb1b0 100644 --- a/machines/aszlig/dnyarri.nix +++ b/machines/aszlig/dnyarri.nix @@ -19,7 +19,7 @@ let ]; }; - bcacheMode = "writearound"; + bcacheMode = "writethrough"; bcacheStart = '' for i in /sys/block/bcache[0-9]*/bcache/cache_mode; do |