Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

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

Merged
katiewasnothere merged 1 commit intomicrosoft:masterfrom
katiewasnothere:fix_propagation_scsi
Apr 8, 2021
Merged

Support passing through arbitrary options and propagation flags for scsi mounts#398
katiewasnothere merged 1 commit intomicrosoft:masterfrom
katiewasnothere:fix_propagation_scsi

Conversation

@katiewasnothere
Copy link

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

dcantah
dcantah previously approved these changes Mar 29, 2021
Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

dcantah
dcantah previously approved these changes Apr 8, 2021
Copy link
Contributor

@dcantah dcantah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re-lgtm. Comments just on type casts that could be skipped

…csi mounts

Signed-off-by: Kathryn Baldauf <kabaldau@microsoft.com>
@katiewasnothere katiewasnothere merged commit a72614f into microsoft:master Apr 8, 2021
@katiewasnothere katiewasnothere deleted the fix_propagation_scsi branch April 8, 2021 21:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants