Skip to contentSkip to conversation

cciss: version number change

PATCH In review Mike Miller (OS Dev) 3 participants 6 messages Nov 1, 2006 – Nov 2, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/8 cciss: version number change

PATCH 1/8

This patch changes the cciss version number to 3.6.14 to reflect the following functionality changes added by the rest of the set. They include:

Support to fire up on any HP RAID class controller
Increase nr_cmds to 512 for most controllers by adding it to the product table PCI subsystem ID fix fix was pulled
Disable DMA prefetch for the P600 on IPF platforms
Change from 512 to 2048 sector_size for performance
Fix in cciss_open for consistency
Remove the no longer used revalidate_allvol function

Please consider this for inclusion.

Thanks,
mikem

 cciss.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

--------------------------------------------------------------------------------

drivers/block/cciss.c +4 -3
diff -urNp linux-2.6.orig/drivers/block/cciss.c linux-2.6/drivers/block/cciss.c
@@ -47,14 +47,15 @@
 #include <linux/completion.h>
 
 #define CCISS_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
-#define DRIVER_NAME "HP CISS Driver (v 3.6.10)"
-#define DRIVER_VERSION CCISS_DRIVER_VERSION(3,6,10)
+#define DRIVER_NAME "HP CISS Driver (v 3.6.14)"
+#define DRIVER_VERSION CCISS_DRIVER_VERSION(3,6,14)
 
 /* Embedded module documentation macros - see modules.h */
 MODULE_AUTHOR("Hewlett-Packard Company");
-MODULE_DESCRIPTION("Driver for HP Controller SA5xxx SA6xxx version 3.6.10");
+MODULE_DESCRIPTION("Driver for HP Controller SA5xxx SA6xxx version 3.6.14");
 MODULE_SUPPORTED_DEVICE("HP SA5i SA5i+ SA532 SA5300 SA5312 SA641 SA642 SA6400"
 			" SA6i P600 P800 P400 P400i E200 E200i E500");
+MODULE_VERSION("3.6.14");
 MODULE_LICENSE("GPL");
 
 #include "cciss_cmd.h"
#1 lore raw
Quoted 5 lines · Mike Miller (OS Dev)

PATCH 1/8

This patch changes the cciss version number to 3.6.14 to reflect the following functionality changes added by the rest of the set. They include:

Mike, only some of your patches appeared to go out, both in personal mail and on the list.

Comment on this patch - normally you'd change the version number last, not as the first patch.

Signature · 1 line
Jens Axboe
#2 lore raw
Quoted 9 lines · Jens Axboe
Quoted 5 lines · Mike Miller (OS Dev)

PATCH 1/8

This patch changes the cciss version number to 3.6.14 to reflect the following functionality changes added by the rest of the set. They include:

Mike, only some of your patches appeared to go out, both in personal mail and on the list.

I ran into some last minute issues so I stopped at 5. Still re-testing the others.
This snippet seems to tbe the culprit.
+ if (blk_queue_stopped(h->gendisk[curr_queue]->queue) ||
+ blk_queue_plugged(h->gendisk[curr_queue]->queue))
+ blk_start_queue(h->gendisk[curr_queue]->queue);

We're testing to see if the queue is stopped or plugged so we don't try to start am already running queue. Without the blk_queue_plugged test it hangs every time. We added blk_queue_plugged and the first tests seem to run ok. Then at the last minute something broke. Does this look ok to you?

Quoted 3 lines

Comment on this patch - normally you'd change the version number last, not as the first patch.

Yep, put the cart before horse I suppose. Maybe I shouldn't have a version number at all. :)

mikem

#3 lore raw
Quoted 18 lines · Mike Miller (OS Dev)
Quoted 9 lines · Jens Axboe
Quoted 5 lines · Mike Miller (OS Dev)

PATCH 1/8

This patch changes the cciss version number to 3.6.14 to reflect the following functionality changes added by the rest of the set. They include:

Mike, only some of your patches appeared to go out, both in personal mail and on the list.

I ran into some last minute issues so I stopped at 5. Still re-testing the others.
This snippet seems to tbe the culprit.

(quoted diff) +3 -0
+               if (blk_queue_stopped(h->gendisk[curr_queue]->queue) ||
+                   blk_queue_plugged(h->gendisk[curr_queue]->queue))
+                       blk_start_queue(h->gendisk[curr_queue]->queue);
Quoted 5 lines

We're testing to see if the queue is stopped or plugged so we don't try to start am already running queue. Without the blk_queue_plugged test it hangs every time. We added blk_queue_plugged and the first tests seem to run ok. Then at the last minute something broke. Does this look ok to you?

it looks like a design mistake to me if a device driver needs to care about a queue being plugged at all....

#4 lore raw
Quoted 12 lines · Arjan van de Ven
Quoted 10 lines

This snippet seems to tbe the culprit.

(quoted diff) +3 -0
+               if (blk_queue_stopped(h->gendisk[curr_queue]->queue) ||
+                   blk_queue_plugged(h->gendisk[curr_queue]->queue))
+                       blk_start_queue(h->gendisk[curr_queue]->queue);

We're testing to see if the queue is stopped or plugged so we don't try to start am already running queue. Without the blk_queue_plugged test it hangs every time. We added blk_queue_plugged and the first tests seem to run ok. Then at the last minute something broke. Does this look ok to you?

Quoted 2 lines

it looks like a design mistake to me if a device driver needs to care about a queue being plugged at all....

We getting hw soon that will support up to 1024 logical volumes. We thought the test would actually save time with many volumes. Maybe not.

mikem

#5 lore raw
In reply to Arjan van de Ven
Quoted 26 lines · Arjan van de Ven
Quoted 18 lines · Mike Miller (OS Dev)
Quoted 9 lines · Jens Axboe
Quoted 5 lines · Mike Miller (OS Dev)

PATCH 1/8

This patch changes the cciss version number to 3.6.14 to reflect the following functionality changes added by the rest of the set. They include:

Mike, only some of your patches appeared to go out, both in personal mail and on the list.

I ran into some last minute issues so I stopped at 5. Still re-testing the others.
This snippet seems to tbe the culprit.

(quoted diff) +3 -0
+               if (blk_queue_stopped(h->gendisk[curr_queue]->queue) ||
+                   blk_queue_plugged(h->gendisk[curr_queue]->queue))
+                       blk_start_queue(h->gendisk[curr_queue]->queue);
Quoted 5 lines

We're testing to see if the queue is stopped or plugged so we don't try to start am already running queue. Without the blk_queue_plugged test it hangs every time. We added blk_queue_plugged and the first tests seem to run ok. Then at the last minute something broke. Does this look ok to you?

Quoted 2 lines

it looks like a design mistake to me if a device driver needs to care about a queue being plugged at all....

The queue can't be plugged and stopped at the same time anyway, so the code is confusing. But yes I agree, that should go.

Signature · 1 line
Jens Axboe