<div dir="ltr"><div>I tried running my desktop from a 120GB+1TB writeback cache setup, but every time the system is rebooted the entire cache is marked dirty, and takes several hours to flush (it does complete).<br></div><div><br></div><div>Two different setups were tested (below), the issue only affected the root mount point, not home.</div><div><br></div><div>Any ideas on how to debug/fix this? <br></div><div><div></div><div><br></div></div><div>First setup (encryption on top of LVM):</div><div>    One GPT partition on each drive, used as PVs.</div><div>    A single cached LV.</div>    / is an EXT4 partition, encrypted with LUKS.<br><div><div><div>    /boot and /boot/efi are simple partitions on the slow drive.</div><div><br></div><div>Second setup (LVM on top of encryption):</div><div>    A couple LUKS volumes, one on each drive, serving as PVs.</div><div>    One VG backed by the fast and slow LUKS volumes.<br></div><div>    / on a cached LV.</div><div>    /home on a separate cached LV.<br></div><div><div>    /boot and /boot/efi are simple partitions on the slow drive.</div></div><div><br></div><div>System:<br></div></div><div>    Fedora 30, KDE spin.<br></div><div>    Kernel 5.1.7-300.fc30.x86_64</div><div><br><div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>--<br>Lucas Vinicius Hartmann<br></div></div></div></div></div></div></div></div></div></div></div></div></div>