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: Automatic or explicit</h1>
8 Filler - need to demonstrate:
12 Automatic (like file system):
13 <br>NBD_CMD_WRITE(offset=0,len=2k) -> success, size now 2k
15 Explicit (like block device):
16 <br>NBD_CMD_WRITE(offset=0,len=2k) -> fails
17 <br>NBD_CMD_RESIZE(2k) -> success, size now 2k
18 <br>NBD_CMD_WRITE(offset=0,len=2k) -> success