Taught log driver to return REP_IO_GRANT on revive events, makes revive
work again.
This commit is contained in:
parent
82173212ee
commit
13d1de5122
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue