[arvados] updated: 2.1.0-3156-g7d79a88a1

git repository hosting git at public.arvados.org
Tue Dec 6 20:27:22 UTC 2022


Summary of changes:
 lib/crunchrun/crunchrun.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  7d79a88a17d851fab8e4a7235448682fb269b374 (commit)
      from  5d0007f0798d34619a21e447f12c34ac2023f2fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7d79a88a17d851fab8e4a7235448682fb269b374
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Dec 6 15:26:47 2022 -0500

    19847: crunch-run should provide --ram-cache explicitly
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/lib/crunchrun/crunchrun.go b/lib/crunchrun/crunchrun.go
index 51e154c0e..52e1bf63a 100644
--- a/lib/crunchrun/crunchrun.go
+++ b/lib/crunchrun/crunchrun.go
@@ -435,7 +435,7 @@ func (runner *ContainerRunner) SetupMounts() (map[string]bindmount, error) {
 		}
 		arvMountCmd = append(arvMountCmd, "--disk-cache", "--disk-cache-dir", keepcachedir, "--file-cache", fmt.Sprintf("%d", runner.Container.RuntimeConstraints.KeepCacheDisk))
 	} else if runner.Container.RuntimeConstraints.KeepCacheRAM > 0 {
-		arvMountCmd = append(arvMountCmd, "--file-cache", fmt.Sprintf("%d", runner.Container.RuntimeConstraints.KeepCacheRAM))
+		arvMountCmd = append(arvMountCmd, "--ram-cache", "--file-cache", fmt.Sprintf("%d", runner.Container.RuntimeConstraints.KeepCacheRAM))
 	}
 
 	collectionPaths := []string{}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list