|stable||-||Extends the file /proc/scsi/scsi to report attached high-level
drivers and their device node in order to report this information
back to userspace:
Host: scsi3 Channel: 00 Id: 10 Lun: 00 Vendor: IBM Model: DDYS-T18350N Rev: S84D Type: Direct-Access ANSI SCSI revision: 03 Attached drivers: sde(b:08:40) sg5(c:15:05)
|stable||1||Make the extra line with Attached drivers: in /proc/scsi/scsi configurable by echoing scsi report-devs X to /proc/scsi/scsi where X is 0 or 1 to switch off/on, respectively. Defaults to off, so we can't break anything.|
|stable||1||Uses the infrastructure of patch 1 to allow for the specification of the root file system by giving host controller number, controller bus (channel), target (SCSI ID), unit (SCSI LUN) and partition number as root=/dev/scsi/sdcHbCtIuLpP, where H,C,I,L,P are to be replaced by numbers. Together with the scsihosts boot parameter, the root fs can be addressed in a relatively persistent way.|
4. (merged into 2.4.20)
|stable||-||As of 2.4.19rc1, we allocate 68 bytes (on 32bit archs) of storage per partition for in hd_struct in gendisk.part, in other words 17408 bytes kmalloc()ed kernel memory per major. This is a lot and becomes a problem, if many disks are attached. One int is unused and thrown out by this patch, thus we're back to 16k per major. 13 more ints are only used for statistics and not interesting for most end-user (and overflow after some time), so this patch makes these bytes a config option CONFIG_BLK_STAT, reducing size to 3k per major. Note that this statistics stuff had been introduced in the 2.4.19-pre only.|
|stable||1, (4)||Makes major allocation in the sd driver dynamic. Initially, only major 8 is registered. As more disks become attached, more majors are allocated. The next majors are 65--71. Then 128--135. Then we either ask devfs for new free block majors or we test ourselves for free block majors starting with 144. Ugly CONFIG_SD_EXTRA_DEVS has gone. Code should be clean to change the number of partitions per disk. Naming after disk 702 (sdzz) is sdaaa. The number of possible majors supported after applying the patch is configurable. It defaults to 16 (thus being compliant with the number of officially assigned devices), but we can get up to 244 majors (3904 disks). Of course only, if no other devices want the majors.|
|stable||(5)||Fixes register_blkdev() and register_chrdev() to not return majors that are reserved for a driver in devices.txt. Use it to get rid of blk_getfops() hack in patch 5. Patch contributed by Carsten Otte (IBM Böblingen), script to fetch recent dev nos from LANANA and convert to reservation list in C from Susanne Oberhauser (SuSE Nürnberg).|
|stable||1, (6)||This is the complement to patch 5 (sd_many) for generic SCSI devices:
It allows to support more than 256 sg devices by dynamically registering
majors for further sg devices.
Patch has been written by Holger Smolinski. Note: The diff is unfortunately very large, because I renamed sg.c into sg_base.c to allow the module to have the same name as in stock kernels: sg.
Note: This is not the case for the 2.4.21 patch: Some Makefile trick removes the need to rename sg.c. For 2.4.21, the sg_many patch should be applied prior to the sd_many one.
Note: This page consists of handwritten HTML and can be viewed with any browser.