microsoft / opengcs

Moved to https://github.com/microsoft/hcsshim/tree/master/internal/guest. If you wish to open PRs/submit issues please do so against https://github.com/microsoft/hcsshim.
MIT License
83 stars 41 forks source link

Support passing through arbitrary options and propagation flags for scsi mounts #398

Closed katiewasnothere closed 3 years ago

katiewasnothere commented 3 years ago

This PR fixes the mount propagation behavior for scsi mounts. The expected behavior is that a rshared mount propagates mountpoint events from container to host and vice versa. However, since we previously did not create the initial mountpoint for the device in the UVM with the correct propagation flags, events would not flow from the container back to the UVM as expected. This PR fixes this by supporting the ability to pass in arbitrary mount options when attaching a scsi disk.

Signed-off-by: Kathryn Baldauf kabaldau@microsoft.com