1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/devicemapper
Vivek Goyal 7b2b15d3e9 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