Problem Description: By looking at the code in smb_allocate_request() (during a search for another bug) I discovered that the nr_requests counter gets increased in a loop, tested if there is not too many request allocated already and if there is loop is repeated. I guess one of the following changes would be proper: - Move the increase out of the loop. - Insert a decrease in the loop since there actually was no allocation. As it is now, if the test fails the counter will be increased until it wraps around and the test thereby succeeds. I guess that was not the inteded behaviour. Since there are no schedule() calls enabled I guess that takes some raw processor time and then simly succeeds. However, I have not found any case where that test fails so I don't see any real problem with it, but the code does not seem to do the intended purpose.
smbfs is slowly being deprecated by cifs so I doubt much work will be done with it. Please try cifs instead
Johan, Have you resolved your problems by switching to CIFS? Thanks.
Yes, switching to CIFS solved my problem