05250a4f00
Goroutine stack analisys shown some lock contention while doing massively (100 instances of `docker rm`) parallel image removal, with many goroutines waiting for the mountL mutex. Optimize it. With this commit, the above operation is about 3x faster, with no noticeable change to container creation times (tested on aufs and overlay2). kolyshkin@: - squashed commits - added description - protected CreateRWLayer against name collisions by temporary assiging nil to ls.mounts[name], and treating nil as "non-existent" in all the other functions. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> |
||
---|---|---|
.. | ||
empty.go | ||
empty_test.go | ||
filestore.go | ||
filestore_test.go | ||
filestore_unix.go | ||
filestore_windows.go | ||
layer.go | ||
layer_store.go | ||
layer_store_windows.go | ||
layer_test.go | ||
layer_unix.go | ||
layer_unix_test.go | ||
layer_windows.go | ||
migration.go | ||
migration_test.go | ||
mount_test.go | ||
mounted_layer.go | ||
ro_layer.go | ||
ro_layer_windows.go |