(in)appropriate uses for MAXBSIZE

Andriy Gapon avg at freebsd.org
Fri Apr 9 09:35:05 UTC 2010


on 09/04/2010 12:25 Hans Petter Selasky said the following:
> On Friday 09 April 2010 10:18:37 Andriy Gapon wrote:
>> As you know MAXBSIZE is currently defined to 64K (seems to a popular value
>>  for constants).  There is the following comment for this parameter and its
>>  value:
>>
> 
>> Feedback welcome.
>> Thanks!
>>
> 
> Hi,
> 
> Some hardware will break if you do more than 64K at a time. Especially USB 
> memory sticks.

I know, but I am not sure what your point is.
The drivers should use appropriate limits for their hardware.
MAXBSIZE is not related to hardware.

-- 
Andriy Gapon


More information about the freebsd-arch mailing list