Vendor in latest containers/storage

This should improve performance on vfs images on top of xfs/reflink drives.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh
2018-12-05 13:56:38 -05:00
parent be74acee1c
commit 5f480f5f75
8 changed files with 398 additions and 7 deletions

View File

@ -2401,7 +2401,7 @@ func (devices *DeviceSet) MountDevice(hash, path string, moptions graphdriver.Mo
addNouuid := strings.Contains("nouuid", mountOptions)
mountOptions = strings.Join(moptions.Options, ",")
if addNouuid {
mountOptions = fmt.Sprintf("nouuid,", mountOptions)
mountOptions = fmt.Sprintf("nouuid,%s", mountOptions)
}
}