From b349e11aba33d0ddb52d34ddfb9319cfec87519b Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 27 Dec 2018 12:13:45 +0200 Subject: [PATCH] tools: toolchain: avoid docker-provided /tmp On at least one system, using the container's /tmp as provided by docker results in spurious EINVALs during aio: INFO 2018-12-27 09:54:08,997 [shard 0] gossip - Feature ROW_LEVEL_REPAIR is enabled unknown location(0): fatal error: in "test_write_many_range_tombstones": storage_io_error: Storage I/O error: 22: Invalid argument seastar/tests/test-utils.cc(40): last checkpoint The setup is overlayfs over xfs. To avoid this problem, pass through the host's /tmp to the container. Using --tmpfs would be better, but it's not possible to guess a good size as the amount of temporary space needed depends on build concurrency. Message-Id: <20181227101345.11794-1-avi@scylladb.com> --- tools/toolchain/dbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/toolchain/dbuild b/tools/toolchain/dbuild index 922da0ab6e..cb1db25835 100755 --- a/tools/toolchain/dbuild +++ b/tools/toolchain/dbuild @@ -1,3 +1,3 @@ #!/bin/bash -docker run --sig-proxy=true --rm -u "$(id -u):$(id -g)" --cap-add SYS_PTRACE -v "$PWD:$PWD" -w "$PWD" "$(