Commit cd044ff
committed
feat: Add fusion field to DiskResource
Add optional Boolean fusion field to DiskResource to allow per-task
control of Fusion filesystem usage.
Changes:
- Add fusion field to DiskResource class
- Update constructor to accept fusion parameter from disk directive
- Make request field optional (can be null) for fusion-only usage
- Update withRequest() to preserve fusion setting
- Update toString() via @tostring to include fusion field
This enables syntax like:
disk fusion: false
disk request: '100 GB', fusion: true
Signed-off-by: Edmund Miller <edmund.miller@seqera.io>1 parent 4dc9945 commit cd044ff
File tree
1 file changed
+14
-10
lines changed- modules/nextflow/src/main/groovy/nextflow/executor/res
1 file changed
+14
-10
lines changedLines changed: 14 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | | - | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
41 | | - | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
| 45 | + | |
45 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
49 | | - | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | | - | |
53 | | - | |
54 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
0 commit comments