zfs/.topmsg

16 lines
583 B
Plaintext
Raw Normal View History

2008-11-20 22:04:05 +00:00
From: Brian Behlendorf <behlendorf1@llnl.gov>
2008-12-05 20:14:06 +00:00
Subject: [PATCH] linux have sysevent
Use sysevent if HAVE_SYSEVENT defined
We don't have FMA in Linux, so disable spa_event_notify() to allow
compilation. It would be a good idea to code at least some kind of
ad-hoc notification for such events, e.g., make it output some syslog
messages when a disk faults/fails.
Also, I think it's FMA in Solaris that is responsible for triggering the
hot spares when a disk starts failing, so we should also think about
doing this in Linux.
2008-11-20 22:04:05 +00:00
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>