From f025fc949831a6050b913370b3844d78fbbf2dae Mon Sep 17 00:00:00 2001 From: Dean Roehrich Date: Fri, 5 Jul 2024 14:43:29 -0500 Subject: [PATCH] review Signed-off-by: Dean Roehrich --- docs/guides/data-movement/readme.md | 8 +++++++- docs/guides/directive-breakdown/readme.md | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/guides/data-movement/readme.md b/docs/guides/data-movement/readme.md index 6381ff3..db60ed9 100644 --- a/docs/guides/data-movement/readme.md +++ b/docs/guides/data-movement/readme.md @@ -90,7 +90,13 @@ The `CreateRequest` API call that is used to create Data Movement with the Copy options to allow a user to specify some options for that particular Data Movement. These settings are on a per-request basis. -The Copy Offload API requires the `nnf-dm` daemon to be running on the compute node. This daemon may be configured to run full-time, or it may left in a disabled state if the WLM is expected to run it only when a user requests it. See [Compute Daemons](../compute-daemons/readme.md) for the systemd service configuration of the daemon. See `RequiredDaemons` in [Directive Breakdown](../directive-breakdown/readme.md) for a description of how the user may request the daemon, in the case where the WLM will run it only on demand. +The Copy Offload API requires the `nnf-dm` daemon to be running on the compute node. This daemon may be configured to run full-time, or it may be left in a disabled state if the WLM is expected to run it only when a user requests it. See [Compute Daemons](../compute-daemons/readme.md) for the systemd service configuration of the daemon. See `RequiredDaemons` in [Directive Breakdown](../directive-breakdown/readme.md) for a description of how the user may request the daemon, in the case where the WLM will run it only on demand. + +If the WLM is running the `nnf-dm` daemon only on demand, then the user can request that the daemon be running for their job by specifying `requires=copy-offload` in their `DW` directive. The following is an example: + +```bash +#DW jobdw type=xfs capacity=1GB name=stg1 requires=copy-offload +``` See the [DataMovementCreateRequest API](copy-offload-api.html#datamovement.DataMovementCreateRequest) definition for what can be configured. diff --git a/docs/guides/directive-breakdown/readme.md b/docs/guides/directive-breakdown/readme.md index 3d193c5..8967b28 100644 --- a/docs/guides/directive-breakdown/readme.md +++ b/docs/guides/directive-breakdown/readme.md @@ -170,7 +170,7 @@ The `DW` directive will include a comma-separated list of daemons after the `req #DW jobdw type=xfs capacity=1GB name=stg1 requires=copy-offload ``` -The DWDirectiveRule resource currently active on the system can be viewed with: +The `DWDirectiveRule` resource currently active on the system can be viewed with: ```console kubectl get -n dws-system dwdirectiverule nnf -o yaml