summaryrefslogtreecommitdiffstats
path: root/events/eventskeygen.py
diff options
context:
space:
mode:
authorAnkit raj <anraj@redhat.com>2017-04-21 11:50:35 +0530
committerAmar Tumballi <amarts@redhat.com>2017-12-09 00:47:46 +0000
commit52915ee818e8a6d0f052d8a2deeadd8ff7bd85dc (patch)
tree8fa19e814d478afa7e035a4709c641866c7b6351 /events/eventskeygen.py
parent1926cada4a7acf48aa7cbf5ef8bb8942ae10b522 (diff)
dht: Send an event when disks get full
Send an event if DHT determines that a subvol is getting full or running out of inodes. Change-Id: Ie026f4ee1832b5df1e80b16cb949b2cc31a25d6f Bug: 1440659 Signed-off-by: Ankit raj <anraj@redhat.com> Signed-off-by: N Balachandran <nbalacha@redhat.com>
Diffstat (limited to 'events/eventskeygen.py')
-rw-r--r--events/eventskeygen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/events/eventskeygen.py b/events/eventskeygen.py
index 23dfb478904..98c26dcbcb1 100644
--- a/events/eventskeygen.py
+++ b/events/eventskeygen.py
@@ -191,6 +191,10 @@ keys = (
#tier events
"EVENT_TIER_START",
"EVENT_TIER_START_FORCE",
+
+ #brick/inodes events
+ "EVENT_DHT_DISK_USAGE",
+ "EVENT_DHT_INODES_USAGE",
)
LAST_EVENT = "EVENT_LAST"