Reduce AAC_MAX_FIBS to work around some yet-unidentified bugs in the
handling of resources shortages. The driver is now so fast that it can completely fill all 512 slots on the card, but for some reason only 511 slots are being allocated. Anything that tries to go into the 512th slot gets silently lost. Both bugs need to be fixed at a later date, but this should fix the reports of hangs in getblk and vinvalb.
This commit is contained in:
parent
a32a982d4a
commit
8f6a5435e7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125543
@ -58,7 +58,7 @@
|
||||
*/
|
||||
#define AAC_FIB_COUNT (PAGE_SIZE/sizeof(struct aac_fib))
|
||||
#define AAC_PREALLOCATE_FIBS 128
|
||||
#define AAC_MAX_FIBS 512
|
||||
#define AAC_MAX_FIBS (512 - AAC_FIB_COUNT)
|
||||
|
||||
/*
|
||||
* The controller reports status events in AIFs. We hang on to a number of
|
||||
|
Loading…
Reference in New Issue
Block a user