Bladeren bron

Disable creation of /dev/hugepages mount point

We create custom hugepages mount point for KVM/DPDK with custom
parameters (ownership flags/hugepages size). Need to disable default
mount point, because it can be unexpectedly used by DPDK.

Change-Id: Ibee95422213260e544406391c7a0922f1a41c5c2
Closes-Bug: PROD-14325
pull/121/merge
Sergey Kreys 6 jaren geleden
bovenliggende
commit
b1c8a3022f
1 gewijzigde bestanden met toevoegingen van 6 en 0 verwijderingen
  1. +6
    -0
      linux/system/hugepages.sls

+ 6
- 0
linux/system/hugepages.sls Bestand weergeven

@@ -40,3 +40,9 @@ hugepages_sysctl_vm_nr_hugepages:
{%- endfor %}

{%- endif %}

# systemd always creates default mount point at /dev/hugepages
# we have to disable it, as we configure our own mount point for DPDK.
mask_dev_hugepages:
cmd.run:
- name: "systemctl mask dev-hugepages.mount"

Laden…
Annuleren
Opslaan