unique: 7, opcode: OPEN (14), nodeid: 3, insize: 48 OPEN[0] flags: 0x8000 /77/1m unique: 8, opcode: READ (15), nodeid: 3, insize: 80 READ[0] 16384 bytes from 0 [dnfs_read]: /77/1m, size = 16384, offset = 0 >>>>>>>>>>flag = 1<<<<<<<<<<<<< co_read failed, flag = 1 192.168.0.70: RPC: Remote system error destroy clo: 0x6480e0 return -5 unique: 8, error: -5 (Input/output error), outsize: 16 unique: 9, opcode: READ (15), nodeid: 3, insize: 80 READ[0] 4096 bytes from 0 [dnfs_read]: /77/1m, size = 4096, offset = 0 >>>>>>>>>>flag = 2<<<<<<<<<<<<< co_read 0 : res = 4096 return 4096 READ[0] 4096 bytes unique: 9, error: 0 (Success), outsize: 4112 unique: 10, opcode: READ (15), nodeid: 3, insize: 80 READ[0] 32768 bytes from 16384 //看到读32768字节的是unique10 [dnfs_read]: /77/1m, size = 32768, offset = 16384 >>>>>>>>>>flag = 3<<<<<<<<<<<<< //同实验1中一样,这里产生了并发unique10和11 unique: 11, opcode: READ (15), nodeid: 3, insize: 80 READ[0] 4096 bytes from 4096 //要读4096字节的是unique11 [dnfs_read]: /77/1m, size = 4096, offset = 4096 >>>>>>>>>>flag = 4<<<<<<<<<<<<< co_read 0 : res = 4096 return 4096 //注意,这里读返回的是4096,所以对应的是unique11请求 READ[0] 4096 bytes //返回值也是对的,读了(返回)4096 unique: 10, error: 0 (Success), outsize: 4112 //但是却被当成unique10返回了!!!!!! <cs_read>flag = 4: read from server failed : 192.168.0.2: RPC: Timed out //接着这里出现了奇怪的flag = 4,不要以为这是unique11的输出(unique11已经在前面被当成unique10返回了),这里是unique10的输出
return -3 unique: 11, error: -3 (No such process), outsize: 16//结果unique10的执行结果被当成unique11执行结果返回了!!!!! unique: 12, opcode: FLUSH (25), nodeid: 3, insize: 64 FLUSH[0] unique: 12, error: -38 (Function not implemented), outsize: 16 unique: 13, opcode: RELEASE (18), nodeid: 3, insize: 64 RELEASE[0] flags: 0x8000 [dnfs_release] unique: 13, error: 0 (Success), outsize: 16
|