File device.
This class represents a file storage backend device.
The unique_id for the file device is a (file_driver, file_path)
tuple.
|
__init__(self,
unique_id,
children,
size,
params,
dyn_params)
Initalizes a file device backend. |
source code
|
|
|
|
|
|
|
|
|
Close(self)
Notifies that the device will no longer be used for I/O. |
source code
|
|
boolean
|
|
|
|
|
Grow(self,
amount,
dryrun,
backingstore,
excl_stor)
Grow the file |
source code
|
|
boolean
|
|
|
|
Inherited from base.BlockDev :
CombinedSyncStatus ,
GetActualDimensions ,
GetActualSpindles ,
GetSyncStatus ,
GetUserspaceAccessUri ,
PauseResumeSync ,
SetInfo ,
SetSyncParams ,
__repr__
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|