On 21/10/2022 00:44, Slade Watkins wrote:
[Resend due to formatting issue, thanks gmail.]
On Thu, Oct 20, 2022 at 7:23 PM Bagas Sanjaya <bagasdotme@xxxxxxxxx> wrote:
Ah! I was about to test his third fixup patch. I prefer to go
with your fix instead (as the formal patch).
+1, agreed.
-srw
His patch is wrong, plus he's broken a number of rules of conduct, two serious. But, I will not reprimand him as kernel maintainer for what is
probably extreme naivety, unless I have to.
The link to the full set of patches is here
https://lore.kernel.org/lkml/20221020223616.7571-1-phillip@xxxxxxxxxxxxxxx/
The first patch fixes the regression reported here in the correct way.
The second patch fixes another regression (which is separate to the
regression causing the issue here). This is where the code incorrectly
extends readahead beyond the end of the file. This is the reason for
the unused trailing pages that Jintao Yin noticed. But, this patch
fixes the cause, rather than fixing the symptom.
The third patch fixes the buffer release race condition that I
posted a fix for earlier.
Spitting this into three patches is one of the rules. Each patch should
do one thing, and one thing only. Three separate regressions means
three separate patches. This is a requirement for "git bisect" to work
effectively.