Am 19.11.2012 16:22, schrieb Paolo Bonzini:
Il 19/11/2012 16:04, Stefan Priebe - Profihost AG ha scritto:
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Sense Key : Aborted Command [current]
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Add. Sense: I/O process terminated
[ 49.183366] sd 2:0:0:1: [sdb] CDB:
[ 49.183366] Write same(16): 93 08 00 00 00 00 03 ff ff f8 00 7f ff ff
00 00
[ 49.183366] end_request: I/O error, dev sdb, sector 67108856
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Sense Key : Aborted Command [current]
[ 49.183366] sd 2:0:0:1: [sdb]
[ 49.183366] Add. Sense: I/O process terminated
[ 49.183366] sd 2:0:0:1: [sdb] CDB:
[ 49.183366] Write same(16): 93 08 00 00 00 00 04 7f ff f7 00 62 00 09
00 00
[ 49.183366] end_request: I/O error, dev sdb, sector 75497463
This is not a cancel. It happens when the block layer reports an error.
You can try adding a printf to rbd_aio_bh_cb, like "if (acb->ret < 0)
printf("error... %d\n", acb->ret);".
Yes this one get's interesting values back:
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -512 acb->error: 0
rbd_aio_bh_cb got error back. acb->ret: -1006628352 acb->error: 0
Stefan