Revision 54e2b513
ID | 54e2b513338ab1ffdf057646496f331e80d2965b |
Parent | acd77fbd |
Child | 1ecc03c1 |
(2.13) Introduce Snapshot() method at bdev
Currently the Snapshot() method is used only during
`gnt-backup export` and is only implemented in the LogicalVolume()
class.
This patch makes this method a BlockDev() method, changes its
signature so that it can take both snap_size and snap_name and
lets bdev calculate both (i.e. snap_size=bdev.size,
snap_name=bdev._lv_name + snap).
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Files
- added
- modified
- copied
- renamed
- deleted