pkg/devicemapper
Vivek Goyal 12524d5657 devmapper: Use device id as specified by caller
Currently devicemapper CreateDevice and CreateSnapDevice keep on retrying
device creation till a suitable device id is found. 

With new transaction mechanism we need to store device id in transaction
before it has been created.

So change the logic in such a way that caller decides the devices Id to
use. If that device Id is not available, caller bumps up the device Id
and retries.

That way caller can update transaciton too when it tries a new Id. Transaction
related patches will come later in the series.
  
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2014-12-03 13:06:43 -05:00
..
attach_loopback.go devicemapper: split out devicemapper bindings 2014-11-05 18:10:38 -05:00
devmapper.go devmapper: Use device id as specified by caller 2014-12-03 13:06:43 -05:00
devmapper_log.go devicemapper: split out devicemapper bindings 2014-11-05 18:10:38 -05:00
devmapper_wrapper.go devmapper: use proper DM_UDEV_DISABLE_*_FLAG when creating the thin-pool 2014-11-12 21:03:04 -05:00
ioctl.go devicemapper: split out devicemapper bindings 2014-11-05 18:10:38 -05:00
MAINTAINERS pkg/devicemapper: missed MAINTAINERS on split 2014-11-14 11:12:23 -05:00