Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into DAOS-4350
Browse files Browse the repository at this point in the history
  • Loading branch information
PetFet committed Apr 2, 2020
2 parents 3c9d3b9 + b499ed6 commit c5517d2
Show file tree
Hide file tree
Showing 48 changed files with 1,024 additions and 523 deletions.
26 changes: 24 additions & 2 deletions doc/man/man8/dmg.8
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH dmg 1 "30 March 2020"
.TH dmg 1 "1 April 2020"
.SH NAME
dmg \- Administrative tool for managing DAOS clusters
.SH SYNOPSIS
Expand Down Expand Up @@ -351,4 +351,26 @@ Query DAOS system status
\fBAliases\fP: q

.TP
\fB\fB\-v\fR, \fB\-\-
\fB\fB\-v\fR, \fB\-\-verbose\fR\fP
Display more member details
.TP
\fB\fB\-r\fR, \fB\-\-ranks\fR\fP
Comma separated list of system ranks to query
.SS system start
Perform start of stopped DAOS system

\fBAliases\fP: r

.SS system stop
Perform controlled shutdown of DAOS system

\fBUsage\fP: system stop [stop-OPTIONS]
.TP

\fBAliases\fP: s

.TP
\fB\fB\-\-force\fR\fP
Force stop DAOS system members
.SS version
Print dmg version
2 changes: 1 addition & 1 deletion src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ HEADERS_SRV = ['vos.h', 'vos_types.h']
def scons():
"""Execute build"""

Import('env', 'prereqs')
Import('env')

# For Common library (tse.h)
env.AppendUnique(CPPPATH=[Dir('include/daos').srcnode()])
Expand Down
2 changes: 1 addition & 1 deletion src/client/pydaos/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __del__(self):
@atexit.register
def _cleanup():
global dc
dc = None;
dc = None

from .pydaos_core import *

Expand Down
2 changes: 1 addition & 1 deletion src/common/tests/checksum_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ simple_sv(void **state)

iod.iod_nr = 1;
iod.iod_recxs = NULL;
iod.iod_size = 1; /* [todo-ryon]: this should be bigger than 1 */
iod.iod_size = daos_sgl_buf_size(&sgl);
iod.iod_type = DAOS_IOD_SINGLE;

rc = daos_csummer_calc_iods(csummer, &sgl, &iod, 1, 0, NULL, 0,
Expand Down
4 changes: 4 additions & 0 deletions src/control/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ def scons():
gosrc = Dir('.').srcnode().abspath
cartpath = Dir('#/src/cart/src/include').srcnode().abspath

denv.AppendENVPath("CGO_LDFLAGS",
denv.subst("-L$BUILD_DIR/src/cart/src/gurt"))
denv.AppendENVPath("CGO_CFLAGS", "-I%s" % cartpath, sep=" ")

agentbin = install_go_bin(denv, gosrc, None, "agent", "daos_agent")
Expand All @@ -154,6 +156,8 @@ def scons():
prereqs.require(senv, 'pmdk', 'spdk', 'ofi', 'hwloc')

cgolibdirs = senv.subst("-L$BUILD_DIR/src/control/lib/spdk "
"-L$BUILD_DIR/src/cart/src/gurt "
"-L$BUILD_DIR/src/cart/src/cart "
"-L$PREFIX/lib64 -L$SPDK_PREFIX/lib "
"-L$HWLOC_PREFIX/lib -L$OFI_PREFIX/lib "
"-L$ISAL_PREFIX/lib $_RPATH")
Expand Down
3 changes: 1 addition & 2 deletions src/control/cmd/dmg/man_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
package main

import (
"bufio"
"bytes"
"flag"
"fmt"
Expand All @@ -50,7 +49,7 @@ func TestDmg_ManPageIsCurrent(t *testing.T) {
return out.Bytes()
}

writeManPage(bufio.NewWriter(&manBytes))
writeManPage(&manBytes)
if *update {
err := ioutil.WriteFile(goldenPath, manBytes.Bytes(), 0644)
if err != nil {
Expand Down
70 changes: 30 additions & 40 deletions src/control/common/proto/ctl/system.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c5517d2

Please sign in to comment.