|
@@ -159,6 +159,14 @@ dasd_log_sense(struct dasd_ccw_req *cqr, struct irb *irb)
|
|
|
struct dasd_device *device;
|
|
|
|
|
|
device = cqr->startdev;
|
|
|
+ if (cqr->intrc == -ETIMEDOUT) {
|
|
|
+ dev_err(&device->cdev->dev, "cqr %p timeout error", cqr);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (cqr->intrc == -ENOLINK) {
|
|
|
+ dev_err(&device->cdev->dev, "cqr %p transport error", cqr);
|
|
|
+ return;
|
|
|
+ }
|
|
|
/* dump sense data */
|
|
|
if (device->discipline && device->discipline->dump_sense)
|
|
|
device->discipline->dump_sense(device, cqr, irb);
|