Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 3673a326

Name Size
  Block
  Confd
  DataCollectors
  HTools
  Query
BasicTypes.hs 6.8 kB
Common.hs 13.3 kB
Compat.hs 1.4 kB
Config.hs 10.6 kB
Constants.hs.in 955 Bytes
Daemon.hs 14 kB
Errors.hs 6.2 kB
Hash.hs 1.8 kB
JQueue.hs 9.9 kB
JSON.hs 8.4 kB
Jobs.hs 2.1 kB
Logging.hs 4.5 kB
Luxi.hs 15.3 kB
Network.hs 3.5 kB
Objects.hs 21.2 kB
OpCodes.hs 16.4 kB
OpParams.hs 42.4 kB
Path.hs 3 kB
Rpc.hs 15.4 kB
Runtime.hs 5.1 kB
Ssconf.hs 4.8 kB
THH.hs 40.2 kB
Types.hs 15.3 kB
Utils.hs 12.3 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
3673a326 01/24/2013 06:00 pm Helga Velroyen

Typo in comment of network type

Signed-off-by: Helga Velroyen <>
Reviewed-by: Iustin Pop <>

d316b880 01/21/2013 01:58 pm Iustin Pop

Renames and cleanup of variable names in confd

The current names are quite confusing; this patch cleans up the
confusion by making sure we use different terms for the two threads,
etc.

No actual code changes besides the renames.

Signed-off-by: Iustin Pop <>...

a6e054a8 01/21/2013 01:57 pm Iustin Pop

Add a function to get the current time in microseconds

In some cases we need higher resolution that seconds; I've settled on
microseconds as that is what 'threadDelay' wants, for exactly, so it's
easier if we keep the same units.

Signed-off-by: Iustin Pop <>...

ce817701 01/21/2013 01:57 pm Iustin Pop

Increase Haskell log file resolution

Currently the Haskell logging goes with the default time formatting,
which lacks sub-second resolution. This is not good, as it's too
coarse.

The patch adds picoseconds to the log; they will contain usually too
many zeroes, but the other option is to use a log format that (for...

7e7fa841 01/21/2013 01:57 pm Iustin Pop

First part of confd timer changes

This patch changes the resolution of the timers: the watcher timer
goes from 60s to 17s, and the polling-mode timer goes from 2 seconds
to 250ms. The code changes a bit more due to the changes in the units
of the various constants....

01eea342 01/21/2013 01:57 pm Iustin Pop

Change the polling thread sleep behaviour

Currently, the polling thread sleeps at the end of its body; the
original reason was that when the thread initially starts, we want to
load the config immediately (in the old-style config load model).

However, now we explicitly load the config, so we can make this thread...

c62df702 01/21/2013 01:57 pm Iustin Pop

Start confd in notify mode if we can

This patch changes the default model—where confd is always started in
polling mode—to a model where if possible we enable inotify mode
before starting any of the background threads.

There are some tricky details here: if we enable inotify, we should...

3190ad64 01/21/2013 01:24 pm Iustin Pop

Explicitly load the config at confd startup

Currently, confd main function doesn't load the config, but simply
forks the individual timer threads, which will—as a side effect-also
load the configuration as soon as they start.

However, this makes codes to the startup more complex, so let's...

9fb621af 01/18/2013 12:41 pm Yiannis Tsiouris

Text wrap in Haskell code

This adds two functions in Utils.hs: 'wrap' and 'trim' along with some
simple tests. 'wrap' is used in Common.hs for wrapping command
descriptions to a fixed line length, e.g. useful for the "--help"
option.

Signed-off-by: Yiannis Tsiouris <>...

e71c47d3 01/16/2013 03:56 pm Michele Tartara

Integrate DRBD with the report generation infrastructure

With this commit, the DRBD data collector does not only print the data
it extracts, but includes them in the proper JSON structure common to
all the data collectors, as prescribed by the design document....

View revisions

Also available in: Atom