Detect underlying disk mount/unmount (#8408)

This commit is contained in:
Krishna Srinivas
2019-10-25 10:37:53 -07:00
committed by kannappanr
parent 8aaaa46be9
commit 980bf78b4d
13 changed files with 415 additions and 239 deletions

View File

@@ -29,6 +29,7 @@ type StorageAPI interface {
IsOnline() bool // Returns true if disk is online.
LastError() error
Close() error
SetDiskID(id string)
DiskInfo() (info DiskInfo, err error)