cciss: fix scan_thread, sysfs stuff, dynamically allocate per drive structure
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest20 patches 1 replyIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
3 of 20 patches have a Reviewed-by or Acked-by.
| Patch | Mike Miller |
|---|---|
| 1/20 | A-b |
| 2/20 | A-b |
| 3/20 | A-b |
| 4/20 | |
| 5/20 | |
| 6/20 | |
| 7/20 | |
| 8/20 | |
| 9/20 | |
| 10/20 | |
| 11/20 | |
| 12/20 | |
| 13/20 | |
| 14/20 | |
| 15/20 | |
| 16/20 | |
| 17/20 | |
| 18/20 | |
| 19/20 | |
| 20/20 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/20] cciss: fix scan_thread, sysfs stuff, dynamically allocate per drive structure
The following series cleans up the broken scan_thread code, allows triggering of the scan_thread via sysfs, dynamically allocates the per device structure for each logical drive as needed instead of all at once at driver init time, fixes a bug in logical drive addressing (seen on MSA2012), and adds lunid, raid_level, and usage_count attributes in sysfs for each logical drive.
---
Andrew Patterson (3):
cciss: Allow triggering of rescan of logical drive topology via sysfs entry
cciss: Use one scan thread per controller and fix hang during rmmod
cciss: Remove sysfs entries for logical drives on driver cleanup.
Stephen M. Cameron (17):
cciss: Dynamically allocate the drive_info_struct for each logical drive.
cciss: Add usage_count attribute to each logical drive in /sys
cciss: Add a "raid_level" attribute to each logical drive in /sys
cciss: fix some magic numbers in the raid-level decoding
cciss: Add lunid attribute to each logical drive in /sys
cciss: Don't check h->busy_initializing in cciss_open().
cciss: Preserve all 8 bytes of LUN ID for logical drives.
cciss: Silence noisy per-disk messages output by cciss_read_capacity
cciss: Fix excessive gendisk freeing bug on driver unload.
cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs.
cciss: Clear all sysfs-exposed data for deleted logical drives.
cciss: Handle special case for sysfs attributes of the first logical drive.
cciss: Handle cases when cciss_add_disk fails.
cciss: Handle failure of blk_init_queue gracefully in cciss_add_disk.
cciss: Rearrange logical drive sysfs code to make the "changing a disk" path work.
cciss: Dynamically allocate struct device for each logical drive as needed.
cciss: Remove some unused code in rebuild_lun_table()
.../ABI/testing/sysfs-bus-pci-devices-cciss | 28 + drivers/block/cciss.c | 743 +++++++++++++++----- drivers/block/cciss.h | 12 3 files changed, 576 insertions(+), 207 deletions(-)
Signature · 1 line
-- steve