moby--moby/daemon/graphdriver
Vincent Batts b68e161e5b graphdriver: prefer prior driver state
Before this, a storage driver would be defaulted to based on the
priority list, and only print a warning if there is state from other
drivers.

This meant a reordering of priority list would "break" users in an
upgrade of docker, such that there images in the prior driver's state
were now invisible.

With this change, prior state is scanned, and if present that driver is
preferred.

As such, we can reorder the priority list, and after an upgrade,
existing installs with prior drivers can have a contiguous experience,
while fresh installs may default to a driver in the new priority list.

Ref: https://github.com/docker/docker/pull/11962#issuecomment-88274858

Signed-off-by: Vincent Batts <vbatts@redhat.com>
2015-04-13 21:37:55 -04:00
..
aufs Fix AUFS logrus build errors on import 2015-03-30 11:46:44 -07:00
btrfs btrfs: #ifdef for build version 2015-03-25 13:56:51 -04:00
devmapper Merge pull request #11412 from vbatts/vbatts-dm_sync_is_required 2015-04-10 16:52:38 -04:00
graphtest Changed snake case naming to camelCase 2015-03-26 15:05:45 -06:00
overlay Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00
vfs Two SELinux Changes. 2015-03-05 13:55:44 -05:00
driver.go graphdriver: prefer prior driver state 2015-04-13 21:37:55 -04:00
driver_linux.go
driver_unsupported.go
fsdiff.go Replace aliased imports of logrus, fixes #11762 2015-03-26 23:22:04 +01:00