Skip to contentSkip to conversation

cciss max SGs is 31, not 32, 2.5.1-pre5

PATCH Stephen Cameron 2 participants 2 messages Dec 4, 2001 Block layer

lore
Share & tools
lore
#0 lore raw

Guys,

wrt 2.5.1-pre5

The change below should be reverted. The controller will reject a command with 32 scatter gather entries.

Thanks,

-- steve

diff -u --recursive --new-file v2.5.0/linux/drivers/block/cciss_cmd.h linux/drivers/block/cciss_cmd.h

drivers/block/cciss_cmd.h Tue Nov 27 09:23:27 2001 renamed from linux/drivers/block/cciss_cmd.h Fri Nov 2 17:45:42 2001 +1 -1
@@ -7,7 +7,7 @@
 
 //general boundary defintions
 #define SENSEINFOBYTES          32//note that this value may vary between host implementations
-#define MAXSGENTRIES            31
+#define MAXSGENTRIES            32
 #define MAXREPLYQS              256
 
 

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

#1 lore raw
Quoted 6 lines · Stephen Cameron

Guys,

wrt 2.5.1-pre5

The change below should be reverted. The controller will reject a command with 32 scatter gather entries.

Oops, probably my mistake. Funny thing is even tested this months ago and came to the same conclusion (your docs are not that good...), I guess it survived in the 2.5 tree because of lack of testing.

Signature · 1 line
Jens Axboe