On Tue, Jul 23, 2024 at 04:29:51PM -0700, Darrick J. Wong wrote: > On Mon, Jul 22, 2024 at 02:34:49PM +0200, Christoph Hellwig wrote: > > On Sun, Jul 21, 2024 at 09:12:29PM -0700, Darrick J. Wong wrote: > > > You could also do: > > > > > > for x in <ephemeral mountpoints>; do > > > systemctl mask xfs_scrub@$(systemd-escape --path $x) > > > done > > > > That assumes I actually know about them. > > True. So, do we want a compat flag to opt in to online fsck? Or one to > opt out? Or perhaps filesystems without rmap or pptrs aren't worth > autoscrubbing? I think an explicit flag is definitively the right interface, and it seems like a compat flag is so far the least bad variant. Note that the flag should just be about automatic online fsck - any explicit user call to xfs_scrub should not be affected. >