Commit b238fc0
Merge #1913
1913: modify DISKS output to have only uri scheme and disk path r=abhilashshetty04 a=abhilashshetty04
We were returning bdev uri for disk field. We want to trim it to have only driver and path.
Before:
```
./target/debug/io-engine-client pool list
NAME UUID STATE CAPACITY USED USED% CLUSTER_SIZE PAGE_SIZE MD_PAGE_SIZE MD_PAGES MD_USED_PAGES MD_USED% DISKS DISK_CAPACITY ENCRYPTED
pool-543 70acf8a4-cbd5-4b8f-b506-6663f0e7a9da online 53632565248 0 0.00% 4194304 4096 4096 12800 1 0.01% aio:///tmp/diskwq.img?uuid=7c709e15-aced-4956-aeeb-df4487748e88 53687091200 false
pool-578 6bde266c-f3fc-49da-9318-179fff3e45ef online 100663296 0 0.00% 4194304 4096 4096 25 1 4.00% malloc:///disk?size_mb=100&uuid=22829bf0-72d2-44ad-b62e-1513f02a11fa 104857600 false
```
After:
```
./target/debug/io-engine-client pool list
NAME UUID STATE CAPACITY USED USED% CLUSTER_SIZE PAGE_SIZE MD_PAGE_SIZE MD_PAGES MD_USED_PAGES MD_USED% DISKS DISK_CAPACITY ENCRYPTED
pool-578 70a48b5b-5a25-4798-911f-019657725629 online 100663296 0 0.00% 4194304 4096 4096 25 1 4.00% malloc:///disk?size_mb=100 104857600 false
pool-551 909d1d46-3837-4c7c-b988-242b82458620 online 64357400576 0 0.00% 4194304 4096 4096 15360 1 0.01% aio:///tmp/gyt.img 64424509440 false
```
Co-authored-by: Abhilash Shetty <[email protected]>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
| 196 | + | |
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| |||
0 commit comments