Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce latencies caused by frequent calls to "get_os_disk_controller_type" #3568

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SRIKKANTH
Copy link
Collaborator

VM's OS disk controller type doesn't change.

Comment on lines 143 to 146
self._os_disk_controller_type = schema.DiskControllerType(
self.get_disk_type(boot_partition.disk)
)
return schema.DiskControllerType(self._os_disk_controller_type)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It should be
return self._os_disk_controller_type

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

…ype"

VM's OS disk controller type doesn't change.
@SRIKKANTH SRIKKANTH force-pushed the smyakam/latency_improvements_23_12_2024 branch from a4941bd to 7229d87 Compare December 27, 2024 09:11
@squirrelsc
Copy link
Member

@LiliDeng LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants