Skip to content

First batch of logging cleanup

Hannes Reinecke linux-scsi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 2 repliesIn review
  2. v16 patches 5 repliesSuperseded

Changes to v1 from the cover letter

- Rebase to apply after 64-bit LUN patchset

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6scsi: Implement sr_printk()drivers/scsi/sr.c drivers/scsi/sr.h drivers/scsi/sr_ioctl.c +1 more+70 -570 replies
2/6scsi: Implement sg_printk()drivers/scsi/sg.c+95 -682 replies
3/6scsi: Implement ch_printk()drivers/scsi/ch.c+9 -50 replies
4/6scsi: Implement st_printk()drivers/scsi/st.c+311 -2940 replies
5/6scsi: use dev_printk() variants for ioctldrivers/scsi/scsi_ioctl.c+11 -60 replies
6/6scsi: use dev_printk variants where possibledrivers/scsi/hosts.c drivers/scsi/scsi.c drivers/scsi/scsi_error.c +2 more+157 -1390 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchDoug GilbertMartin K. PetersenChristoph Hellwig
1/6R-b R-b
2/6A-b R-b R-b
3/6R-b R-b
4/6R-b R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCHv2 0/6] First batch of logging cleanup

Hi all,

this is the first patch of my SCSI logging cleanup. The basic idea here is to use dev_printk() and friends throughout the midlayer, so that any logging messages are attached with the correct device information.

This patchset is relative to the core-for-3.17 git tree from hch + my 64-bit LUN patchset.

Changes to v1:
- Rebase to apply after 64-bit LUN patchset

Hannes Reinecke (6):
scsi: Implement sr_printk()
scsi: Implement sg_printk()
scsi: Implement ch_printk()
scsi: Implement st_printk()
scsi: use dev_printk() variants for ioctl
scsi: use dev_printk variants where possible

 drivers/scsi/ch.c         |  14 +-
 drivers/scsi/hosts.c      |  15 +-
 drivers/scsi/scsi.c       |  18 +-
 drivers/scsi/scsi_error.c | 179 +++++++-------
 drivers/scsi/scsi_ioctl.c |  17 +-
 drivers/scsi/scsi_lib.c   |  22 +-
 drivers/scsi/scsi_scan.c  |  62 ++---
 drivers/scsi/sg.c         | 163 +++++++------
 drivers/scsi/sr.c         |  61 ++---
 drivers/scsi/sr.h         |   4 +
 drivers/scsi/sr_ioctl.c   |  26 +-
 drivers/scsi/sr_vendor.c  |  36 +--
 drivers/scsi/st.c         | 605 ++++++++++++++++++++++++----------------------
 13 files changed, 653 insertions(+), 569 deletions(-)
Signature · 1 line
1.7.12.4