#627325 Turn on/off eatmydata while a program is running

#627325#5
Date:
2011-05-19 14:58:20 UTC
From:
To:
Hi!

eatmydata would be useful on laptops when they are put on battery. We
would put eatmydata in /etc/ld.so.preload and let it know when we want
sync() or not. For example, if /var/run/eatmydata.on exists, we want
sync() disabled.

Would you accept a patch which does something like this?

#627325#10
Date:
2011-05-20 08:52:15 UTC
From:
To:
Hello,

Sure I would accept it. eatmydata.c already has similar code but it's disabled
iirc. If you polished it, made file path configurable via environment variable
(which would also serve as ON/OFF switch of this functionality) and added
appropriate documentation, I would consider applying it.

#627325#15
Date:
2011-05-21 08:49:29 UTC
From:
To:
tag 627325 + patch
thanks

OoO  En cette matinée  pluvieuse du  vendredi 20  mai 2011,  vers 10:52,
Modestas Vainius <modax@debian.org> disait :

Hi!

Here is the patch against the current package.

If EATMYDATA  environment variable is present, eatmydata  will check the
file defined  by this variable. If  the file exists, any  sync() call is
suppressed.

#627325#22
Date:
2011-12-13 08:24:01 UTC
From:
To:
OoO En  cette matinée pluvieuse  du samedi 21  mai 2011, vers  10:49, je
disais:

Hi!

I had no news on this patch. What do you think of it?

#627325#29
Date:
2014-10-13 22:46:20 UTC
From:
To:
Control: tags -1 - pending

Unluckily the codebase changed quite a lot in these years.
Do you mind to rebase your patch against the current package (upstream
version 82)

#627325#36
Date:
2014-10-14 05:03:00 UTC
From:
To:
 ❦ 14 octobre 2014 00:46 +0200, Mattia Rizzolo <mattia@mapreri.org> :

Sorry, I don't have much time currently. Maybe later this year.

#627325#41
Date:
2014-10-15 20:42:31 UTC
From:
To:
Control: tags -1 - patch

don't worry, I'm not in hurry :)
When you'll have a patch, just send it (and re-tag +patch the bug).