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>
8 Filler - need to demonstrate:
11 polling (server cannot tell client about async changes unless client
13 <br>client: NBD_CMD_RESIZE(0)
14 <br>server: NBD_REPLY_TYPE_RESIZE response, including NBD_REPLY_DONE
16 <br>client: NBD_CMD_RESIZE(0)
17 <br>server: NBD_REPLY_TYPE_RESIZE response, including NBD_REPLY_DONE
19 notify (client registers open-ended command to allow multiple async
20 server responses as needed):
21 <br>client: NBD_CMD_RESIZE(NBD_CMD_FLAG_NOTIFY)
23 <br>server: NBD_REPLY_TYPE_RESIZE response, excluding NBD_REPLY_DONE
25 <br>server: NBD_REPLY_TYPE_RESIZE response, excluding NBD_REPLY_DONE