Performance tuning on zfs 'tank', set atime=off and xattr=sa.
Add a dataset for libvirt images with a recordsize of 64k which matches
the default cluster size of qcow2 images.
Change-Id: I4c697f4b984821e4f856daeca569ac07db33cb93
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
state: present
extra_zfs_properties:
compression: zstd
+ atime: 'off'
+ xattr: 'sa'
- name: Create datasets
community.general.zfs:
name: "tank/{{item}}"
state: present
extra_zfs_properties:
mountpoint: '/var/lib/iso'
+- name: Create libvirt/images dataset
+ community.general.zfs:
+ name: 'tank/libvirt/images'
+ state: present
+ extra_zfs_properties:
+ mountpoint: '/var/lib/libvirt/images'
+ recordsize: '64k'