@@ -3306,9 +3306,9 @@ iter_guess_size(Credit0, NumEntries, DataSize) ->
33063306iter_read_ahead (Fd , Pos , MinReqSize , Credit0 , DataSize , NumEntries , Ra0 )
33073307 when is_integer (Credit0 ) andalso
33083308 MinReqSize =< DataSize ->
3309- % % if the minimum request size can be server from read ahead then we
3309+ % % if the minimum request size can be served from read ahead then we
33103310 % % return only that, ra_read never returns partial reads so speculatively
3311- % % reading ahead further hear could reduce efficiency of read ahead buffer
3311+ % % reading ahead further here could reduce efficiency of read ahead buffer
33123312 case ra_read (Pos , MinReqSize , Ra0 ) of
33133313 undefined ->
33143314 % % If the read ahead config can fill the entire DataSize it
@@ -3323,7 +3323,7 @@ iter_read_ahead(Fd, Pos, MinReqSize, Credit0, DataSize, NumEntries, Ra0)
33233323 % % if the read ahead buffer cannot be filled
33243324 % % we do an iterator local readahead
33253325 % % if there are plenty of credits we estimate the readahead
3326- % % needed to server that, else we read up to the readahead
3326+ % % needed to serve that, else we read up to the readahead
33273327 % % limit but not beyond the end of the chunk and not less
33283328 % % that the minimum request size
33293329 MinSize = max (MinReqSize , min (? READ_AHEAD_LIMIT , DataSize )),
0 commit comments