Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runc/adapter: volumes can be marked as shared
If a volume is marked as shared then any updates to mounts inside it will be reflected in all mount namespaces rather than just reflecting the state of the mounts at job start time. In order to avoid race conditions when creating and mounting the volume host-level locking wraps all sharing operations. The syntax for enabling shared volumes is: processes: - name : ... ... additional_volumes: - path: /var/vcap/data/shared shared: true
- Loading branch information
Christopher Brown
committed
May 22, 2019
1 parent
cb91ffe
commit 8140ecb
Showing
8 changed files
with
205 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.