1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/graphdriver/aufs
Tonis Tiigi 6d97339ca2 Fix AUFS silent mount errors on many layers
Fixes #1171
Fixes #6465

Data passed to mount(2) is clipped to PAGE_SIZE if its bigger. Previous 
implementation checked if error was returned and then started to append layers 
one by one. But if the PAGE_SIZE clipping appeared in between the paths, in the 
permission sections or in xino definition the call would not error and 
remaining layers would just be skipped(or some other unknown situation).

This also optimizes system calls as it tries to mount as much as possible with 
the first mount.


Signed-off-by: Tõnis Tiigi <tonistiigi@gmail.com> (github: tonistiigi)
2014-11-13 20:13:13 +02:00
..
aufs.go Fix AUFS silent mount errors on many layers 2014-11-13 20:13:13 +02:00
aufs_test.go Fix AUFS silent mount errors on many layers 2014-11-13 20:13:13 +02:00
dirs.go Rename runtime/* to daemon/* 2014-04-17 14:43:01 -07:00
migrate.go Initial work on selinux patch 2014-04-29 03:40:05 -07:00
mount.go Use logrus everywhere for logging 2014-10-24 15:03:06 -07:00
mount_linux.go Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary 2014-08-06 17:20:21 -06:00
mount_unsupported.go Replace "amd64" build tags with "cgo" as appropriate, and remove where unnecessary 2014-08-06 17:20:21 -06:00