<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dss/dss.suite, branch next</title>
<subtitle>DSS - dyadic snapshot scheduler</subtitle>
<id>https://git.tue.mpg.de/cgit/dss/atom?h=next</id>
<link rel='self' href='https://git.tue.mpg.de/cgit/dss/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/'/>
<updated>2019-09-21T13:11:09Z</updated>
<entry>
<title>Introduce prune --disk-space.</title>
<updated>2019-09-21T13:11:09Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2019-02-07T22:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=71a8073e6f18ccc21880a475af8d864279a960b8'/>
<id>urn:sha1:71a8073e6f18ccc21880a475af8d864279a960b8</id>
<content type='text'>
The new option takes a mandatory argument of the set {check, high,
low}. The latter two make the command act as if disk space was
high/low without actually performing the check. This is mostly useful
for debugging.
</content>
</entry>
<entry>
<title>Revamp com_prune().</title>
<updated>2019-09-21T13:11:09Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2019-09-01T17:34:54Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=d4d72473957544283b6d426c3d4fa0b3f583da87'/>
<id>urn:sha1:d4d72473957544283b6d426c3d4fa0b3f583da87</id>
<content type='text'>
The prune subcommand implements its own logic for picking the snapshot
to remove. The algorithm is similar but not identical to how the run
subcommand gets rid of snapshots.

This patch eliminates this inconsistency by changing com_prune()
to call the find_removable_snapshot() helper which was introduced in
the previous commit.

Since find_removable_snapshot() returns a dynamically allocated string
via the "why" pointer, we have to introduce another label for freeing
this memory.

The patch also improves the help text of the prune subcommand slightly.
</content>
</entry>
<entry>
<title>Support multiple source directories.</title>
<updated>2018-06-08T13:40:16Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2018-06-06T13:08:24Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=4b93d353a2ac15b45b9e6064620bf93e41aa1b51'/>
<id>urn:sha1:4b93d353a2ac15b45b9e6064620bf93e41aa1b51</id>
<content type='text'>
rsync is capable of copying multiple source directories to a single
destination, but this is currently not supported by dss. This commit
adds this functionality. The implementation is straight-forward,
except that we don't want to add a trailing slash to every source
directory. The new comment in dss.c explains this in more detail.

Suggested-By: Sanja Jasek &lt;sanja.jasek@tuebingen.mpg.de&gt;
Tested-By: Sanja Jasek &lt;sanja.jasek@tuebingen.mpg.de&gt;
</content>
</entry>
<entry>
<title>Replace license boilerplate with single line SPDX comments.</title>
<updated>2017-11-19T01:53:25Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-11-06T00:12:41Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=1f5ecfacc341f893d73caa0a613d553af33a6cc9'/>
<id>urn:sha1:1f5ecfacc341f893d73caa0a613d553af33a6cc9</id>
<content type='text'>
This gets rid of existing copyright templates in favor of just the
one-liner SPDX (Software Package Data Exchange) notice. All files are
licensed under the GPL-2.0, so the same tag is added to each file. No
copyright is changed by this commit.

Several files (mostly the very short ones) did not contain a license
text so far. By default all files without license information are
under the default license of this package, which is GPL version 2.
This commit adds the missing SPDX line so that now all files except
dss.css, index.html.in, INSTALL, NEWS and README have it.

We also remove author and copyright year, since the author is the same
everywhere, and the year hasn't been updated any more since at least
six years. Accurate information is available from the git log.

The COPYING file can also be removed because the license text at
https://spdx.org/licenses/GPL-2.0.html is immutable.
</content>
</entry>
<entry>
<title>Merge branch 'refs/heads/t/kill-w'</title>
<updated>2017-11-18T14:56:55Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-11-18T14:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=324d1364004376fa0b018afcb57cfe14aca7fcdb'/>
<id>urn:sha1:324d1364004376fa0b018afcb57cfe14aca7fcdb</id>
<content type='text'>
Two patches which make life easier for shutdown scripts which need
to terminate the dss process, but would like to wait until the exit
hook completed.

The merge conflicted in dss.suite, but this was trivial to fix.

Cooking for a week.

* refs/heads/t/kill-w:
  kill: New option --wait.
  run: Wait for children to die.
</content>
</entry>
<entry>
<title>Merge branch 'refs/heads/t/mountpoint'</title>
<updated>2017-11-15T18:09:53Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-11-15T18:09:06Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=c9fd9f2239319b95c46e49b1b7040e1a898cdcf7'/>
<id>urn:sha1:c9fd9f2239319b95c46e49b1b7040e1a898cdcf7</id>
<content type='text'>
A new main option which aborts dss if the destination file system is
not mounted.

Cooking for two weeks.

* refs/heads/t/mountpoint:
  New option: --mountpoint.
</content>
</entry>
<entry>
<title>Fix bad grammar "allows &lt;infinitive&gt;".</title>
<updated>2017-11-14T03:26:10Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-11-07T23:06:17Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=f83691dcd50a73c42a39911c06f19c7f2862fa06'/>
<id>urn:sha1:f83691dcd50a73c42a39911c06f19c7f2862fa06</id>
<content type='text'>
In standard English, the verb "allows" can never take an infinitive as
its direct object.
</content>
</entry>
<entry>
<title>kill: New option --wait.</title>
<updated>2017-11-11T15:26:09Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-10-15T16:08:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=faed24aec8859d232fe3c0da415265e0de099ce4'/>
<id>urn:sha1:faed24aec8859d232fe3c0da415265e0de099ce4</id>
<content type='text'>
Simply running "dss kill" during system shutdown to terminate the
dss process does not work as expected because the kill subcommand
exits after the signal has been sent, which might be long before the
targeted dss process terminates.

For example, the dss main process might be running its exit hook to
inform the system administrator about the fact that the dss service
is going down when the shutdown procedure already has deactivated the
network. Or the shutdown procedure kills the exit hook with SIGKILL
during its normal "killing remaining processes" phase before file
systems are unmounted.

With the --wait option, the kill subcommand will not return until the
dss process has died or the timeout expires. We hardcode the timeout
in send_signal() for the time being. It can be made configurable if
this turns out to be necessary.
</content>
</entry>
<entry>
<title>New subcommand: configtest.</title>
<updated>2017-10-28T09:26:31Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-10-15T13:03:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=e22eda4676173486ab4a50909b0a581a1d798503'/>
<id>urn:sha1:e22eda4676173486ab4a50909b0a581a1d798503</id>
<content type='text'>
Similar to the identically named subcommand of apache2ctl. This is
trivial to implement because we only need to describe the subcommand
in dss.suite and create a command handler which prints an OK message
and returns success. If the config file contains errors, we abort
earlier anyway.
</content>
</entry>
<entry>
<title>New option: --mountpoint.</title>
<updated>2017-10-21T11:06:45Z</updated>
<author>
<name>Andre Noll</name>
<email>maan@tuebingen.mpg.de</email>
</author>
<published>2017-10-16T15:19:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tue.mpg.de/cgit/dss/commit/?id=31b7424d5b47509ed22667ca2ee31a5590664606'/>
<id>urn:sha1:31b7424d5b47509ed22667ca2ee31a5590664606</id>
<content type='text'>
The new option applies to run, create, ls and prune. The feature
could be implemented as a pre-create hook, but since it is so common,
it makes sense to add it to dss proper.

As for the implementation we simply check that "." and ".." are on
different devices (or are identical).
</content>
</entry>
</feed>
