Re: [PATCH 3/3] debian: enable xfs_scrub_all systemd timer services by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 10, 2024 at 08:18:38AM +0200, Christoph Hellwig wrote:
> On Tue, Jul 09, 2024 at 03:53:06PM -0700, Darrick J. Wong wrote:
> > Though I guess we /could/ decide to ship only the
> > xfs_scrub_all.{service,timer} files in a totally separate package.  But
> > that will make packaging more difficult because now we have to have
> > per-package .install files so that debconf knows where to put the files,
> > and then we have to split the package scripts too.
> > 
> > On Fedora it's apparently the other way 'round where one has to turn on
> > services manually.
> 
> Heh.  I'm still worried about scrub just being automatically run without
> the user asking for it.
> 
> How about something different:  add a new autoscrub mount option, which
> the kernel simply ignores, but which the scrub daemon uses to figure out
> if it should scrub a file system?

Hm, xfs could do that, but that would clutter up the mount options.
Or perhaps the systemd service could look for $mountpoint/.autoheal or
something.

It might be easier still to split the packages, let me send an RFC of
what that looks like.

--D




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux