From 061ea1674fec3adfe9cf07aebc1452534dc2885d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sun, 20 Jun 2010 20:52:42 +0000 Subject: [PATCH] * Increase the CIFS timeout here as well. svn path=/nixos/branches/boot-order/; revision=22348 --- modules/testing/test-instrumentation.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/testing/test-instrumentation.nix b/modules/testing/test-instrumentation.nix index 268a208e7fa..b70c6e03f27 100644 --- a/modules/testing/test-instrumentation.nix +++ b/modules/testing/test-instrumentation.nix @@ -81,6 +81,13 @@ in networking.defaultGateway = mkOverride 200 {} ""; networking.nameservers = mkOverride 200 {} [ ]; + # Apply a patch to the kernel to increase the 15s CIFS timeout. + nixpkgs.config.packageOverrides = pkgs: { + linux = pkgs.linux.override (orig: { + kernelPatches = orig.kernelPatches ++ [ pkgs.kernelPatches.cifs_timeout ]; + }); + }; + }; }