On Mon, 6 Jan 2020 16:14:24 -0500 "Theodore Y. Ts'o" <ty...@mit.edu> wrote:
> On Mon, Jan 06, 2020 at 12:39:52AM -0800, Josh Triplett wrote:
> > That's an *additional* delay, on top of the sleeps above. The two-second
> > sleep in the "exitcode" function seems like the primary culprit.  Note
> > that I don't even have lvm2-tools installed.
> 
> Ah, yes, sorry, I had missed the sleep in the exitcode function.
> Actually it's not needed in e2scrub_all at all; it was there due
> copy/paste oversight.
> 
> The commit below should address your concern.

That addresses the two-second sleep in a default install, thank you.

Please also move the entirely commented-out e2scrub.conf to an example
in /usr/share/doc (deleting /etc/e2scrub.conf in postinst if it matches
the current example), and making the timer/service use
ConditionPathExists=/etc/e2scrub.conf, which will avoid running the
service at all.

- Josh Triplett

Reply via email to