Commit 19ad942
David Scott
CA-180826:
We call `SR.stat` on already-attached SRs, so should provide the attached
URI. For example if an SR is created at
iscsi://target/iqn/disk
the `SR.attach` will return a local path like
file:///var/run/sr-mount/foo
We then call `SR.stat` with `file:///var/run/sr-mount/foo`. This makes
it easy to query the SR attributes such as
- free space
- name
etc
Signed-off-by: David Scott <dave.scott@citrix.com>SR.stat should take the attached URI1 parent 91440a1 commit 19ad942
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
412 | | - | |
| 412 | + | |
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
| |||
0 commit comments