I have certainly written code which consists of "while (free disk space is less than X) {, delete oldest log file}".
Such code would break on zfs.
Is there even a better way to achieve "I want all spare space to be filled with logfiles, but I never want to run out of space."?