mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 00/20] cciss: fix scan_thread, sysfs stuff, dynamically allocate per drive structure
@ 2009-09-17 18:46 Stephen M. Cameron
  2009-09-17 18:46 ` [PATCH 01/20] cciss: Remove sysfs entries for logical drives on driver cleanup Stephen M. Cameron
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: Stephen M. Cameron @ 2009-09-17 18:46 UTC (permalink / raw)
  To: akpm, axboe; +Cc: linux-kernel, linux-scsi, andrew.patterson, mikem, scameron

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(-)

-- 
-- steve

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2009-09-18 20:14 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-17 18:46 [PATCH 00/20] cciss: fix scan_thread, sysfs stuff, dynamically allocate per drive structure Stephen M. Cameron
2009-09-17 18:46 ` [PATCH 01/20] cciss: Remove sysfs entries for logical drives on driver cleanup Stephen M. Cameron
2009-09-17 18:46 ` [PATCH 02/20] cciss: Use one scan thread per controller and fix hang during rmmod Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 03/20] cciss: Allow triggering of rescan of logical drive topology via sysfs entry Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 04/20] cciss: Remove some unused code in rebuild_lun_table() Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 05/20] cciss: Dynamically allocate struct device for each logical drive as needed Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 06/20] cciss: Rearrange logical drive sysfs code to make the "changing a disk" path work Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 07/20] cciss: Handle failure of blk_init_queue gracefully in cciss_add_disk Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 08/20] cciss: Handle cases when cciss_add_disk fails Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 09/20] cciss: Handle special case for sysfs attributes of the first logical drive Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 10/20] cciss: Clear all sysfs-exposed data for deleted logical drives Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 11/20] cciss: Fix usage_count check in rebuild_lun_table when triggered via sysfs Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 12/20] cciss: Fix excessive gendisk freeing bug on driver unload Stephen M. Cameron
2009-09-17 18:47 ` [PATCH 13/20] cciss: Silence noisy per-disk messages output by cciss_read_capacity Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 14/20] cciss: Preserve all 8 bytes of LUN ID for logical drives Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 15/20] cciss: Don't check h->busy_initializing in cciss_open() Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 16/20] cciss: Add lunid attribute to each logical drive in /sys Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 17/20] cciss: fix some magic numbers in the raid-level decoding Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 18/20] cciss: Add a "raid_level" attribute to each logical drive in /sys Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 19/20] cciss: Add usage_count " Stephen M. Cameron
2009-09-17 18:48 ` [PATCH 20/20] cciss: Dynamically allocate the drive_info_struct for each logical drive Stephen M. Cameron
2009-09-18 20:14 ` [PATCH 00/20] cciss: fix scan_thread, sysfs stuff, dynamically allocate per drive structure Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome