All of lore.kernel.org
 help / color / mirror / Atom feed
* generic/456 regression on 5.7-rc1, 1k test case
@ 2020-04-13 20:12 Eric Whitney
  2020-04-14  2:52 ` Ritesh Harjani
  2020-04-14  3:49 ` Ritesh Harjani
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Whitney @ 2020-04-13 20:12 UTC (permalink / raw)
  To: linux-ext4; +Cc: riteshh

I'm seeing consistent failures for generic/456 while running kvm-xfstests' 1k
test case on 5.7-rc1.  This is with an x86-64 test appliance root file system
image dated 23 March 2020.

The test fails when e2fsck reports "inconsistent fs: inode 12, i_size is
147456, should be 163840".

Bisecting 5.7-rc1 identified the following patch as the cause:
ext4: don't set dioread_nolock by default for blocksize < pagesize
(626b035b816b).  Reverting the patch in 5.7-rc1 reliably eliminates the test
failure.

Eric

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic/456 regression on 5.7-rc1, 1k test case
  2020-04-13 20:12 generic/456 regression on 5.7-rc1, 1k test case Eric Whitney
@ 2020-04-14  2:52 ` Ritesh Harjani
  2020-04-14  3:49 ` Ritesh Harjani
  1 sibling, 0 replies; 4+ messages in thread
From: Ritesh Harjani @ 2020-04-14  2:52 UTC (permalink / raw)
  To: Eric Whitney, linux-ext4

Hello Eric,

On 4/14/20 1:42 AM, Eric Whitney wrote:
> I'm seeing consistent failures for generic/456 while running kvm-xfstests' 1k
> test case on 5.7-rc1.  This is with an x86-64 test appliance root file system
> image dated 23 March 2020.
> 
> The test fails when e2fsck reports "inconsistent fs: inode 12, i_size is
> 147456, should be 163840".
> 
> Bisecting 5.7-rc1 identified the following patch as the cause:
> ext4: don't set dioread_nolock by default for blocksize < pagesize
> (626b035b816b).  Reverting the patch in 5.7-rc1 reliably eliminates the test
> failure.
> 

Since you could reliably reproduce it. Could you please try with this
patch and see if this fixes it for you?

https://patchwork.ozlabs.org/project/linux-ext4/patch/20200331105016.8674-1-jack@suse.cz/

-ritesh


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic/456 regression on 5.7-rc1, 1k test case
  2020-04-13 20:12 generic/456 regression on 5.7-rc1, 1k test case Eric Whitney
  2020-04-14  2:52 ` Ritesh Harjani
@ 2020-04-14  3:49 ` Ritesh Harjani
  2020-04-14 15:11   ` Eric Whitney
  1 sibling, 1 reply; 4+ messages in thread
From: Ritesh Harjani @ 2020-04-14  3:49 UTC (permalink / raw)
  To: Eric Whitney, linux-ext4

Hello Eric,

On 4/14/20 8:22 AM, Ritesh Harjani wrote:
> Hello Eric,
> 
> On 4/14/20 1:42 AM, Eric Whitney wrote:
>> I'm seeing consistent failures for generic/456 while running 
>> kvm-xfstests' 1k
>> test case on 5.7-rc1.  This is with an x86-64 test appliance root file 
>> system
>> image dated 23 March 2020.
>>
>> The test fails when e2fsck reports "inconsistent fs: inode 12, i_size is
>> 147456, should be 163840".
>>
>> Bisecting 5.7-rc1 identified the following patch as the cause:
>> ext4: don't set dioread_nolock by default for blocksize < pagesize
>> (626b035b816b).  Reverting the patch in 5.7-rc1 reliably eliminates 
>> the test
>> failure.
>>
> 
> Since you could reliably reproduce it. Could you please try with this
> patch and see if this fixes it for you?
> 
> https://patchwork.ozlabs.org/project/linux-ext4/patch/20200331105016.8674-1-jack@suse.cz/ 


Ok, so after updating the xfstests to latest, I could reliably reproduce
generic/456 failing on x86 with 1K blocksize on my setup too.
Although, with my limited testing, I couldn't see this issue on Power 
(where blocksize == 4K and PAGESIZE=64K).

But either ways, after applying above patch the tests always passes for
me (tested on x86). So this should indeed fix your reported problem.
Saw an email too that Ted has now picked up this patch.


-ritesh


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic/456 regression on 5.7-rc1, 1k test case
  2020-04-14  3:49 ` Ritesh Harjani
@ 2020-04-14 15:11   ` Eric Whitney
  0 siblings, 0 replies; 4+ messages in thread
From: Eric Whitney @ 2020-04-14 15:11 UTC (permalink / raw)
  To: Ritesh Harjani; +Cc: Eric Whitney, linux-ext4

* Ritesh Harjani <riteshh@linux.ibm.com>:
> Hello Eric,
> 
> On 4/14/20 8:22 AM, Ritesh Harjani wrote:
> > Hello Eric,
> > 
> > On 4/14/20 1:42 AM, Eric Whitney wrote:
> > > I'm seeing consistent failures for generic/456 while running
> > > kvm-xfstests' 1k
> > > test case on 5.7-rc1.  This is with an x86-64 test appliance root
> > > file system
> > > image dated 23 March 2020.
> > > 
> > > The test fails when e2fsck reports "inconsistent fs: inode 12, i_size is
> > > 147456, should be 163840".
> > > 
> > > Bisecting 5.7-rc1 identified the following patch as the cause:
> > > ext4: don't set dioread_nolock by default for blocksize < pagesize
> > > (626b035b816b).  Reverting the patch in 5.7-rc1 reliably eliminates
> > > the test
> > > failure.
> > > 
> > 
> > Since you could reliably reproduce it. Could you please try with this
> > patch and see if this fixes it for you?
> > 
> > https://patchwork.ozlabs.org/project/linux-ext4/patch/20200331105016.8674-1-jack@suse.cz/
> 
> 
> Ok, so after updating the xfstests to latest, I could reliably reproduce
> generic/456 failing on x86 with 1K blocksize on my setup too.
> Although, with my limited testing, I couldn't see this issue on Power (where
> blocksize == 4K and PAGESIZE=64K).
> 
> But either ways, after applying above patch the tests always passes for
> me (tested on x86). So this should indeed fix your reported problem.
> Saw an email too that Ted has now picked up this patch.
> 
> 
> -ritesh
>

Hi, Ritesh:

Thanks for pointing out that patch - I'd not noticed it.  Out of general
thoroughness, I applied it to 5.7-rc1 and ran the entire 1k test case
without a generic/456 failure or any other regressions.  So, that should
resolve this issue.  (5.7-rc1 otherwise looks good to me generally after
regression against 5.6 on x86_64).

Thanks very much for your help!

Eric


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14 15:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13 20:12 generic/456 regression on 5.7-rc1, 1k test case Eric Whitney
2020-04-14  2:52 ` Ritesh Harjani
2020-04-14  3:49 ` Ritesh Harjani
2020-04-14 15:11   ` Eric Whitney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.