Statistics
| Branch: | Tag: | Revision:

root / src @ 07423850

Name Size
  Ganeti
AutoConf.hs.in 4.5 kB
OLD-NEWS 19 kB
README 4.5 kB
ganeti-kvmd.hs 1.2 kB
ganeti-metad.hs 1.3 kB
ganeti-mond.hs 1.2 kB
ganeti-wconfd.hs 1.1 kB
haddock-prologue 251 Bytes
hconfd.hs 1.2 kB
hluxid.hs 1.2 kB
hs2py.hs 1.5 kB
htools.hs 824 Bytes
lint-hints.hs 1 kB
mon-collector.hs 1 kB
rpc-test.hs 8.6 kB

Latest revisions

# Date Author Comment
07423850 04/10/2014 03:18 pm Klaus Aehlig

Instance JSON LockRequest

...as pending requests need to be serialized when serializing
lock waiting structures.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

b2a8f6ac 04/10/2014 03:18 pm Klaus Aehlig

Add a function to get a LockWaiting from an extRepr

Add a function to obtain some lock waiting structure from a
given extensional representation.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

7fe8baad 04/10/2014 03:18 pm Klaus Aehlig

Provide an extensional representation of LockWaiting

The internal representation of the lock waiting structure contains
some arbitrariness---pending requests are arbitrarily keyed by one
of the lock owners that blocks them. Therefore, LockWaiting is not
an instance of Eq. To allow some meaningful form of comparison...

f24f0e5c 04/10/2014 03:18 pm Klaus Aehlig

Export the set of pending requests

...from a lock waiting structure. In this way, all the data
describing the behavior can be inspected.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

38b3e03d 04/10/2014 01:41 pm Klaus Aehlig

Schedule on jobs where all job dependencies are finished

Jobs may depend on other jobs in the sense that they may only be started
once a given job is finalized. For a job process, however, it is hard to
determine if the status of a different job without a significant overhead....

6a2e71d9 04/10/2014 01:41 pm Klaus Aehlig

Add function to obtain job dependencies

Add a function that computes the list of job ids a job depends
on. This will allow to schedule only those jobs for execution,
where all jobs it depends on have been finalized.

Signed-off-by: Klaus Aehlig <>...

55433d5b 04/10/2014 01:41 pm Klaus Aehlig

Add function to obtain job id from a dependency

Add a function that extracts the job id, if given in absolute
form, from a job dependency.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

60c4dbb9 04/09/2014 01:55 pm Klaus Aehlig

Add process id to lock-owner description

...so that we can notify owners when their pending request got granted.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

b52bad34 04/09/2014 11:58 am Klaus Aehlig

Add a function to release all resources of an owner

Add a convenience function---definable from the exported
interface---to clean up all the resources of an owner. This
will be needed, e.g., if a job dies.

Signed-off-by: Klaus Aehlig <>...

89e605be 04/09/2014 11:58 am Klaus Aehlig

Add a function to remove a pending request

Add a function that allows an owner to remove a pending request
it might have. Besides useful for testing, this will also be
needed to clean up the resources for dead owners.

Signed-off-by: Klaus Aehlig <>...

View revisions

Also available in: Atom