Skip to content

Commit

Permalink
Merge pull request openzfs#614 from delphix/projects/merge-upstream/m…
Browse files Browse the repository at this point in the history
…aster

Merge remote-tracking branch '6.0/stage' into 'master'
  • Loading branch information
delphix-devops-bot authored Sep 15, 2022
2 parents d2f8fb6 + d2bce70 commit 7efe4e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/zfs_object_agent/zettacache/src/zettacache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ impl Inner {

let mut sysinfo = System::new();
sysinfo.refresh_system();
let system_memory = usize::from64(sysinfo.total_memory() * 1024);
let system_memory = usize::from64(sysinfo.total_memory());

// Calculate a maximum size for the pending_changes as a percentage of system memory
// Note that during a merge, this space must also accomodate the space used by
Expand Down
2 changes: 1 addition & 1 deletion tests/zfs-tests/include/libtest.shlib
Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ function is_shared_smb
datasetexists "$fs" || return

if is_linux; then
net usershare list | grep -xFq "${fs//\//_}"
net usershare list | grep -xFq "${fs//[-\/]/_}"
else
log_note "SMB on $UNAME currently unsupported by the test framework"
return 1
Expand Down

0 comments on commit 7efe4e9

Please sign in to comment.