blade: tweak rbd_cache settings
This commit is contained in:
parent
98a1ed6300
commit
4f3c21a8ea
1 changed files with 10 additions and 0 deletions
|
@ -165,6 +165,16 @@ in {
|
|||
mgr.daemons = [ config.networking.hostName ];
|
||||
mgr.enable = config.services.ceph.mon.enable;
|
||||
rgw.enable = true;
|
||||
client.enable = true;
|
||||
client.extraConfig = {
|
||||
"client.libvirt" = {
|
||||
rbd_cache = "true";
|
||||
rbd_cache_policy = "writeback";
|
||||
rbd_cache_size = "2Gi";
|
||||
rbd_cache_max_dirty = "1792Mi";
|
||||
rbd_cache_target_dirty = "128Mi";
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.services.ceph-osd-lvm-activate = lib.mkIf config.services.ceph.osd.enable {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue