fix scan_thread, sysfs stuff, LUN addressing problem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | Remove sysfs entries for logical drives on driver cleanup.drivers/ | +4 | 0 replies | |
| 2/17 | Use one scan thread per controller and fix hang during rmmoddrivers/ drivers/ | +141 | 0 replies | |
| 3/17 | Allow triggering of rescan of logical drive topology via sysfs entryDocumentation/ drivers/ | +40 | 0 replies | |
| 4/17 | Remove some unused code in rebuild_lun_table()drivers/ | +0 | 0 replies | |
| 5/17 | Dynamically allocate struct device for each logical drive as needed.drivers/ drivers/ | +73 | 0 replies | |
| 6/17 | Rearrange logical drive sysfs code to make the "changing a disk" path work.drivers/ | +10 | 0 replies | |
| 7/17 | Handle failure of blk_init_queue gracefully in cciss_add_disk.drivers/ | +3 | 0 replies | |
| 8/17 | Handle cases when cciss_add_disk fails.drivers/ | +25 | 0 replies | |
| 9/17 | Handle special case for sysfs attributes of the first logical drive.drivers/ | +14 | 0 replies | |
| 10/17 | Clear all sysfs-exposed data for deleted logical drives.drivers/ | +21 | 0 replies | |
| 11/17 | Fix usage_count check in rebuild_lun_table when triggered via sysfs.drivers/ | +21 | 0 replies | |
| 12/17 | Fix excessive gendisk freeing bug on driver unload.drivers/ | +8 | 0 replies | |
| 13/17 | Silence noisy per-disk messages output by cciss_read_capacitydrivers/ | +0 | 0 replies | |
| 14/17 | Preserve all 8 bytes of LUN ID for logical drives.drivers/ drivers/ | +25 | 0 replies | |
| 15/17 | Add lunid attribute to each logical drive in /sysDocumentation/ drivers/ | +33 | 0 replies | |
| 16/17 | Add a "raid_level" attribute to each logical drive in /sysDocumentation/ drivers/ | +31 | 0 replies | |
| 17/17 | Add usage_count attribute to each logical drive in /sysDocumentation/ drivers/ | +27 | 0 replies |
Reviews trailers per patch
3 of 17 patches have a Reviewed-by or Acked-by.
| Patch | Mike Miller |
|---|---|
| 1/17 | A-b |
| 2/17 | A-b |
| 3/17 | A-b |
| 4/17 | |
| 5/17 | |
| 6/17 | |
| 7/17 | |
| 8/17 | |
| 9/17 | |
| 10/17 | |
| 11/17 | |
| 12/17 | |
| 13/17 | |
| 14/17 | |
| 15/17 | |
| 16/17 | |
| 17/17 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [cciss: PATCH 00/17] fix scan_thread, sysfs stuff, LUN addressing problem
The following series cleans up the broken scan_thread code, allows triggering of the scan_thread via sysfs, dynamically allocates the struct device 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):
Allow triggering of rescan of logical drive topology via sysfs entry Use one scan thread per controller and fix hang during rmmod Remove sysfs entries for logical drives on driver cleanup.
Stephen M. Cameron (14):
Add usage_count attribute to each logical drive in /sys
Add a "raid_level" attribute to each logical drive in /sys
Add lunid attribute to each logical drive in /sys
Preserve all 8 bytes of LUN ID for logical drives.
Silence noisy per-disk messages output by cciss_read_capacity Fix excessive gendisk freeing bug on driver unload.
Fix usage_count check in rebuild_lun_table when triggered via sysfs. Clear all sysfs-exposed data for deleted logical drives. Handle special case for sysfs attributes of the first logical drive. Handle cases when cciss_add_disk fails.
Handle failure of blk_init_queue gracefully in cciss_add_disk. Rearrange logical drive sysfs code to make the "changing a disk" path work. Dynamically allocate struct device for each logical drive as needed. Remove some unused code in rebuild_lun_table()
.../ABI/testing/sysfs-bus-pci-devices-cciss | 28 + drivers/block/cciss.c | 551 +++++++++++++++----- drivers/block/cciss.h | 11 3 files changed, 461 insertions(+), 129 deletions(-)
Signature · 1 line
-- steve