On 06/30/17 05:21, Sage Weil wrote: > We're having a series of problems with the valgrind included in xenial[1] > that have led us to restrict all valgrind tests to centos nodes. At teh > same time, we're also seeing spurious ENOSPC errors from btrfs on both > centos on xenial kernels[2], making trusty the only distro where btrfs > works reliably. Do you guys know about balance filters and how to use them to prevent ENOSPC?
see: https://btrfs.wiki.kernel.org/index.php/Balance_Filters Basically it sometimes (when using snaps heavily) just has many partially used chunks and so you rebalance the data inside them so it can remove the fully empty ones and reuse the space. The above page says to run commands like: > btrfs balance start -dusage=50 / where you start at 50 or so and raise it up and rerun if you want, until you reclaimed enough space. So, to make the automated tests eat less of your time, you could script something that runs that after some number of unit tests, or in the btrfs filestore itself can do it after removing some amount of snapshots, or after ENOSPC and retry. I don't know what's easy to implement, just making sure you're aware of the option. _______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com