This is an automated email from the ASF dual-hosted git repository.
chenhang pushed a commit to branch branch-4.16
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/branch-4.16 by this push:
new d39e923ed0 Skip mount command error (#4360)
d39e923ed0 is described below
commit d39e923ed003e3e687c035ef28abb2d8e519e94a
Author: Lishen Yao <[email protected]>
AuthorDate: Sat May 11 19:18:10 2024 +0900
Skip mount command error (#4360)
### Motivation
Fix

(cherry picked from commit d89dbc87f2995175876d445393f87b2b45569d04)
---
.github/actions/tune-runner-vm/action.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/actions/tune-runner-vm/action.yml
b/.github/actions/tune-runner-vm/action.yml
index 402b9201dc..7e5f77f9a8 100644
--- a/.github/actions/tune-runner-vm/action.yml
+++ b/.github/actions/tune-runner-vm/action.yml
@@ -53,8 +53,8 @@ runs:
# tune filesystem mount options,
https://www.kernel.org/doc/Documentation/filesystems/ext4.txt
# commit=999999, effectively disables automatic syncing to disk
(default is every 5 seconds)
# nobarrier/barrier=0, loosen data consistency on system crash (no
negative impact to empheral CI nodes)
- sudo mount -o remount,nodiscard,commit=999999,barrier=0 /
- sudo mount -o remount,nodiscard,commit=999999,barrier=0 /mnt
+ sudo mount -o remount,nodiscard,commit=999999,barrier=0 / || true
+ sudo mount -o remount,nodiscard,commit=999999,barrier=0 /mnt ||
true
# disable discard/trim at device level since remount with
nodiscard doesn't seem to be effective
# https://www.spinics.net/lists/linux-ide/msg52562.html
for i in /sys/block/sd*/queue/discard_max_bytes; do