mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-25 17:24:38 +01:00
runtime: add hugepages support
Add hugepages support, port from:
b486387cba
Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
@@ -75,7 +75,7 @@ func PmemDeviceInfo(source, destination string) (*DeviceInfo, error) {
|
||||
return nil, fmt.Errorf("backing file %v has not PFN signature", device.HostPath)
|
||||
}
|
||||
|
||||
_, fstype, err := utils.GetDevicePathAndFsType(source)
|
||||
_, fstype, _, err := utils.GetDevicePathAndFsTypeOptions(source)
|
||||
if err != nil {
|
||||
pmemLog.WithError(err).WithField("mount-point", source).Warn("failed to get fstype: using ext4")
|
||||
fstype = "ext4"
|
||||
|
||||
Reference in New Issue
Block a user