Skip to content

Don't overwhelm with messages when a device is unplugged

Luben Tuikov linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Print only a single message "rejecting I/O to device being removed"drivers/scsi/scsi_lib.c drivers/scsi/scsi_scan.c include/scsi/scsi_device.h+11 -37 replies
2/2Print only 5 messages "rejecting I/O to dead device"drivers/scsi/scsi_lib.c drivers/scsi/scsi_scan.c include/scsi/scsi_device.h+12 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] [SCSI] Don't overwhelm with messages when a device is unplugged

What follows are two patches.
The first I've been carrying for a long time. The second is recent.

We see over 2 million messages of sorts when a device(s) is unplugged right in the middle of heavy I/O.

"rejecting I/O to device being removed" and "rejecting I/O to dead device"...

These are printed so many times that they cause soft-lockup on all 4 CPUs in succession!...

The following patches remedy this sad situation.

Luben