The author decided to run some tests comparing the performance of ext4 and ZFS in PostgreSQL environments.
The testing was done on a t3.medium instance with two 20GB gp3 disks, one using an ext4 filesystem and the other one for ZFS.
ZFS is not available by default in the Debian repositories, so some extra steps are needed like adding the backports repository and installing kernel sources before ZFS install.
Once ZFS is installed the kernel modules become available and can be loaded using modprobe command.
The author initialized PostgreSQL for the ext4 filesystem by enabling data checksums, this step is not required for the ZFS filestem as ZFS is doing this anyway.
The author changed two bits for the ZFS instance, turning off full_page_writes and wal_init_zero which is not required on ZFS.