1 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
2 <link rel="stylesheet" href="style.css" type="text/css"/>
3 <script src="code.js" type="text/javascript"></script>
5 <h1>Tradeoff: poll or notify</h1>
10 <li>Server cannot report size unless client asks
11 <li>Each server reply sets <code>NBD_REPLY_DONE</code> flag bit
12 <li>Client must ask in a loop when polling for a change from the
16 <img src="8300-poll.png"/>
21 <li>Client uses <code>NBD_CMD_FLAG_RESIZE_NOTIFY</code> to
22 request an open-ended command
23 <li>Server replies with <code>NBD_REPLY_DONE</code> flag clear
24 whenever it has a new size to report
27 <img src="8300-notify.png"/>