Taught log driver to return REP_IO_GRANT on revive events, makes revive

work again.
This commit is contained in:
Ben Gras 2006-07-25 11:01:54 +00:00
parent 82173212ee
commit 13d1de5122

View file

@ -369,6 +369,7 @@ PRIVATE void do_status(message *m_ptr)
m.m_type = DEV_REVIVE; m.m_type = DEV_REVIVE;
m.REP_ENDPT = logdevices[d].log_proc_nr; m.REP_ENDPT = logdevices[d].log_proc_nr;
m.REP_STATUS = logdevices[d].log_status; m.REP_STATUS = logdevices[d].log_status;
m.REP_IO_GRANT = logdevices[d].log_user_vir_g;
send(m_ptr->m_source, &m); send(m_ptr->m_source, &m);
logdevices[d].log_proc_nr = 0; logdevices[d].log_proc_nr = 0;
logdevices[d].log_revive_alerted = 0; logdevices[d].log_revive_alerted = 0;