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

virtio_fs_share_data_hugepage: correct cache argument #4241

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

Conversation

zhaojunyao7
Copy link

change cache argument of virtiofsd from',cache=' to ' --cache=' and update the cache mode 'none' to 'never' to match with the latest production behavior.

ID:2917
Signed-off-by: Junyao Zhao [email protected]

@zhaojunyao7
Copy link
Author

@hellohellenmao , could you help review this one ? Thank you.

@zhaojunyao7
Copy link
Author

(2/4) Host_RHEL.m9.u6.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.6.0.x86_64.io-github-autotest-qemu.virtio_fs_share_data_hugepage.basic_test.with_cache.auto.q35: PASS (70.81 s)
(3/4) Host_RHEL.m9.u6.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.6.0.x86_64.io-github-autotest-qemu.virtio_fs_share_data_hugepage.basic_test.with_cache.always.q35: PASS (72.37 s)
(4/4) Host_RHEL.m9.u6.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.6.0.x86_64.io-github-autotest-qemu.virtio_fs_share_data_hugepage.basic_test.with_cache.none.q35: PASS (72.96 s)

@hellohellenmao
Copy link
Contributor

LGTM

@hellohellenmao
Copy link
Contributor

@YongxueHong Could you please help to take a review here? THanks

@YongxueHong
Copy link
Contributor

Hi @MiriamDeng @fbq815 @xiagao
Could you help review it to see if it affects your feature?
Thanks.

Comment on lines 71 to 72
- none:
fs_binary_extra_options += ",cache=none"
fs_binary_extra_options += " --cache=never"
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @zhaojunyao7
Do we consider updating the variant name to never?
I prefer to update it since it is more earlier to understand the case purpose.
Pls let me know your opinions. Thanks.

change cache argument of virtiofsd from',cache=' to ' --cache='
and update the cache mode 'none' to 'never' to match with the
latest production behavior.

Signed-off-by: Junyao Zhao <[email protected]>
@zhaojunyao7
Copy link
Author

@YongxueHong Thanks for you advice, updated the variant name to never.

@xiagao
Copy link
Contributor

xiagao commented Jan 9, 2025

It looks good to me. ACK.

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.

4 participants