report a typo in WaitReadBuffers

Started by Junwang Zhaoabout 1 year ago3 messages
#1Junwang Zhao
zhjwpku@gmail.com

While reading the stream read interfaces, I found a typo.

/*
* How many neighboring-on-disk blocks can we can scatter-read into
* other buffers at the same time? In this case we don't wait if we

Seems the second *can* is not necessary.

--
Regards
Junwang Zhao

#2Michael Paquier
michael@paquier.xyz
In reply to: Junwang Zhao (#1)
Re: report a typo in WaitReadBuffers

On Sun, Oct 20, 2024 at 11:20:34AM +0800, Junwang Zhao wrote:

/*
* How many neighboring-on-disk blocks can we can scatter-read into
* other buffers at the same time? In this case we don't wait if we

Seems the second *can* is not necessary.

Yes, you are right. This reads better without the second "can".
--
Michael

#3Michael Paquier
michael@paquier.xyz
In reply to: Michael Paquier (#2)
Re: report a typo in WaitReadBuffers

On Sun, Oct 20, 2024 at 04:06:42PM +0900, Michael Paquier wrote:

Yes, you are right. This reads better without the second "can".

Fixed that as well.
--
Michael