Skip to content

Commit

Permalink
docs: add pnfs flow diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
kofemann committed Aug 4, 2023
1 parent cdc47c7 commit dbd85ee
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions modules/dcache-nfs/README.md
@@ -0,0 +1,27 @@
# NFSv4.1/pNFS Door


```mermaid
sequenceDiagram
autonumber
actor Client
participant Door
participant poolA
participant PoolManager
Client->>Door: OPEN(file), LAYOUTGET
Door->>PoolManager: Select Pool
PoolManager-->>Door: 'poolA'
Door->>poolA: Start Mover (state)
poolA-->>Door: Ready(id)
Door-->>Client: 'open state', 'layout'
loop Application IO
Client->>poolA: READ(file, state, offset, len)
poolA-->>Client: 'bytes'
end
Client->>Door: LAYOUT_RETURN, CLOSE
Door->>poolA: Kill Mover(id)
poolA->>poolA: state invalidated
poolA-->>Door: Trnaster Finish
Door->>Door: Invalidate state
Door-->>Client: OK
```

0 comments on commit dbd85ee

Please sign in to comment.