Skip to content

st: Clean up and raise max device limit (v4)

Jeff Mahoney linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5st: Use static class attributesdrivers/scsi/st.c+33 -410 replies
2/5st: clean up dev cleanup in st_probedrivers/scsi/st.c+4 -70 replies
3/5st: get rid of scsi_tapes arraydrivers/scsi/st.c drivers/scsi/st.h+7 -70 replies
4/5st: clean up device file creation and removaldrivers/scsi/st.c drivers/scsi/st.h+91 -1050 replies
5/5st: raise device limitDocumentation/scsi/st.txt drivers/scsi/st.h+3 -50 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLee DuncanKai Mäkisara
SeriesA-b
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [patch 0/5] st: Clean up and raise max device limit (v4)

This patchset cleans up the SCSI tape device handling code and leverages it to lift the limitation of the number of tape drives from the previous arbitrary limit of 128 to the maximum supported by a device node that creates 8 character devices per physical device. Since minors are 20 bits, that means 2^17 tape drives can be supported.

Changed in this version: A previous revision introduced a regression where tape drives would not be shown as tape devices in lsscsi. This was due to the missing "tape" symlink in sysfs. That issue has been addressed and lsscsi works properly again. Also, it passes checkpatch with no errors.

Please apply.