Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti @ 32935f7a

Name Size
  Confd
  Cpu
  Curl
  DataCollectors
  HTools
  Hs2Py
  Hypervisor
  Locking
  Logging
  Metad
  Monitoring
  Objects
  Query
  Storage
  THH
  Utils
  WConfd
BasicTypes.hs 14.3 kB
Codec.hs 1.6 kB
Common.hs 14.4 kB
Compat.hs 1.4 kB
Config.hs 15.6 kB
ConfigReader.hs 10.8 kB
ConstantUtils.hs 5.3 kB
Constants.hs 124.2 kB
Daemon.hs 16.2 kB
Errors.hs 6.5 kB
Hash.hs 1.8 kB
JQScheduler.hs 14 kB
JQueue.hs 23.7 kB
JSON.hs 13.2 kB
Jobs.hs 3.3 kB
Kvmd.hs 11.5 kB
Lens.hs 1.7 kB
Logging.hs 6.1 kB
Luxi.hs 10.7 kB
Network.hs 3.5 kB
Objects.hs 26.6 kB
OpCodes.hs 27.5 kB
OpParams.hs 49.4 kB
Parsers.hs 1.7 kB
Path.hs 4.2 kB
PyValue.hs 2.9 kB
Rpc.hs 26.1 kB
Runtime.hs 7.5 kB
Ssconf.hs 5.9 kB
THH.hs 50.9 kB
Types.hs 29.6 kB
UDSServer.hs 14.1 kB
Utils.hs 25.2 kB
VCluster.hs 1.6 kB
Version.hs.in 246 Bytes

Latest revisions

# Date Author Comment
32935f7a 04/11/2014 05:02 pm Klaus Aehlig

Do not notify the current requester

The current implementation of lock waiting yields as notification
set the list of all owners whose requests could be fulfilled. This
includes the initiating request. While technically correct, the
original requester gets the answer of the request and hence does not...

50d756af 04/10/2014 04:30 pm Klaus Aehlig

Fix a race in rescheduling jobs

When handling the queue, in particular at analyzing job dependencies,
we assume that all non-finalized jobs are present in the Queue data
structure. When rescheduling jobs we move them from the running part
of the queue to the scheduled part again. In order to comply with the...

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

Instance JSON LockWaiting

...so that it can be used by WConfD who needs to be
able to persist all its data.

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

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 <>

View revisions

Also available in: Atom