commit | 76506388218085746241fe5d0b40151ee9a1b87f | [log] [tgz] |
---|---|---|
author | Federico Morg Pareschi <morg@google.com> | Thu Jun 23 12:57:01 2016 +0100 |
committer | Brian Foley <bpfoley@google.com> | Thu Jun 23 14:56:37 2016 +0100 |
tree | 235ba844f43bc2ba0c7b1b8949a3202e3b720852 | |
parent | e1db65e44d3d712706f8ddd303b27867a047caf0 [diff] |
Prevent the watcher from submitting too many jobs When the watcher runs on each node group, if it can obtain the group lock, it submits a GROUP_VERIFY_DISKS job for each group. This happens every 5 minutes due to a cron job. This patch stops the watcher from submitting unnecessary verify disks jobs if there are some already pending in the queue to prevent job congestion. Signed-off-by: Federico Morg Pareschi <morg@google.com> Reviewed-by: Brian Foley <bpfoley@google.com>