Merge pull request 'optimize filesystem mount flags' (#846) from Mic92-target_host into main
This commit is contained in:
@@ -50,12 +50,12 @@ let
|
|||||||
"/" = {
|
"/" = {
|
||||||
device = "/dev/vda";
|
device = "/dev/vda";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
options = [ "defaults" "x-systemd.makefs" ];
|
options = [ "defaults" "x-systemd.makefs" "nobarrier" "noatime" "nodiratime" "data=writeback" "discard" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"/vmstate" = {
|
"/vmstate" = {
|
||||||
device = "/dev/vdb";
|
device = "/dev/vdb";
|
||||||
options = [ "x-systemd.makefs" ];
|
options = [ "x-systemd.makefs" "noatime" "nodiratime" "discard" ];
|
||||||
noCheck = true;
|
noCheck = true;
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user