]> Pileus Git - ~andy/linux/commitdiff
[S390] cio: Log the response from the unit check handler
authorMichael Ernst <mernst@de.ibm.com>
Mon, 9 Aug 2010 16:12:51 +0000 (18:12 +0200)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 9 Aug 2010 16:12:53 +0000 (18:12 +0200)
Log the response from the unit check handler which triggers further
cio internal i/o processing.

Signed-off-by: Michael Ernst <mernst@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/ccwreq.c

index 7f206ed44fdf79b41d771a203a8700c3a6ba07b4..fd0368785ee0f5b201e687576d20577b57601cc1 100644 (file)
@@ -182,6 +182,8 @@ static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb)
                /* Ask the driver what to do */
                if (cdev->drv && cdev->drv->uc_handler) {
                        todo = cdev->drv->uc_handler(cdev, lcirb);
+                       CIO_TRACE_EVENT(2, "uc_response");
+                       CIO_HEX_EVENT(2, &todo, sizeof(todo));
                        switch (todo) {
                        case UC_TODO_RETRY:
                                return IO_STATUS_ERROR;