<div dir="ltr">Hi,
<div><br></div><div>We wrote some temporary solution to avoid file copy hang problem.</div><div>We inserted wake_up function for sender_work queue after _req_mod(req, QUEUE_FOR_SEND_OOS, peer_device).</div><div>Please check following code in drbd_process_write_request function.<br><br>drbd_process_write_request ()</div><div>{</div><div><br></div><div> ........</div><div><br></div><div><br>} else if (drbd_set_out_of_sync(peer_device, req->i.sector, req->i.size))<div><br>#ifdef _WIN32_V9 // Windows DRBD<br>{<br> _req_mod(req, QUEUE_FOR_SEND_OOS, peer_device);<br> if(peer_device->repl_state[NOW] == L_WF_BITMAP_S)<br> {<br> wake_up(&peer_device->connection->sender_work.q_wait);<br> }<br>}<br>#else<br> _req_mod(req, QUEUE_FOR_SEND_OOS, peer_device); // Linux Org<br>#endif<br></div></div><div><br></div><div>}</div><div><br></div><div>What do you think about this idea?</div><div><br></div><div>Thanks.</div><div><br></div><div><br></div></div>