Re: cifs xfstests aio-dio-invalidate-failure test fail after 6.3 merge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am getting this error when I ran it on 6.3-rc but as you noted, I do
see it work on 6.2 (I tested on 6.2-rc6 a few minutes ago).  Perhaps
related to one of of the iov_iter/netfs changes in 6.3?

generic/208 201s ... [failed, exit status 1]- output mismatch (see
/home/smfrench/xfstests-dev/results//generic/208.out.bad)
    --- tests/generic/208.out   2020-01-24 17:11:18.720859829 -0600
    +++ /home/smfrench/xfstests-dev/results//generic/208.out.bad
 2023-02-24 22:22:56.015999894 -0600
    @@ -1,2 +1,2 @@
     QA output created by 208
    -ran for 200 seconds without error, passing
    +event res 25165824
    ...
    (Run 'diff -u /home/smfrench/xfstests-dev/tests/generic/208.out
/home/smfrench/xfstests-dev/results//generic/208.out.bad'  to see the
entire diff)

running it with 6.2-rc6 I did notice 3 share reconnects (and a session
reconnect) which was strange but the test passed ...

1 session 3 share reconnects

On Tue, Feb 28, 2023 at 12:03 AM Steve French <smfrench@xxxxxxxxx> wrote:
>
> Do you see this with the fixes from David Howells in cifs for next?
>
> On Tue, Feb 28, 2023, 00:00 Murphy Zhou <jencce.kernel@xxxxxxxxx> wrote:
>>
>> Hi,
>>
>> It is xfstests generic/208. It passed with the v6.2 release.
>>
>> The similar WARNING can be triggered with the v6.2 release without the
>> "cache=none" mount option.
>>
>>
>> Thanks,
>> Murphy
>>
>> Test log with kernel built on the top of commit f3a2439f20d9:
>>
>> # FS QA Test No. 208
>> #
>> # Run aio-dio-invalidate-failure - test race in read cache invalidation
>> #
>>
>> FSTYP         -- cifs
>> PLATFORM      -- Linux/x86_64 xzhouw2 6.2.0+ #3 SMP PREEMPT_DYNAMIC
>> Mon Feb 27 12:18:03 CST 2023
>> MKFS_OPTIONS  -- //localhost/scratch
>> MOUNT_OPTIONS -- -o vers=3.11,username=root,
>> password=redhat,mfsymlinks,cache=none -o
>> context=system_u:object_r:nfs_t:s0 //localhost/scratch /cifssch
>>
>> generic/208 200s ...  [13:01:11][failed, exit status 1] [13:01:53]-
>> output mismatch (see
>> /root/upstream/xfstests/results//generic/208.out.bad)
>>     --- tests/generic/208.out    2022-09-13 10:27:36.077029036 +0800
>>     +++ /root/upstream/xfstests/results//generic/208.out.bad
>> 2023-02-27 13:01:53.189534533 +0800
>>     @@ -1,2 +1,2 @@
>>      QA output created by 208
>>     -ran for 200 seconds without error, passing
>>     +buffered write returned -1_check_dmesg: something found in dmesg
>> (see /root/upstream/xfstests/results//generic/208.dmesg)
>> Ran: generic/208
>> Failures: generic/208
>> Failed 1 of 1 tests
>>
>> [   30.762541] run fstests generic/208 at 2023-02-27 13:01:11
>> [   72.029275] ------------[ cut here ]------------
>> [   72.029279] WARNING: CPU: 0 PID: 3064 at mm/gup.c:218
>> try_grab_page+0x65/0x100
>> [   72.029288] Modules linked in: cifs rdma_cm iw_cm ib_cm ib_core
>> dns_resolver fscache netfs loop xt_CHECKSUM xt_MASQUERADE xt_conntrack
>> ipt_REJECT nf_reject_ipv4 nft_compat nft_chain_nat nf_nat nf_conntrack
>> nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc
>> rfkill sunrpc snd_hda_codec_generic ledtrig_audio snd_hda_intel
>> snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core
>> intel_rapl_msr snd_hwdep intel_rapl_common snd_seq
>> intel_uncore_frequency_common isst_if_common snd_seq_device snd_pcm
>> nfit snd_timer crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd
>> rapl iTCO_wdt i2c_i801 iTCO_vendor_support soundcore pcspkr i2c_smbus
>> lpc_ich joydev virtio_balloon xfs libcrc32c qxl drm_ttm_helper ttm
>> drm_kms_helper sr_mod cdrom sg syscopyarea sysfillrect sysimgblt drm
>> ahci libahci libata virtio_net crc32c_intel net_failover serio_raw
>> virtio_blk virtio_scsi virtio_console failover dm_mirror
>> dm_region_hash dm_log dm_mod fuse
>> [   72.029345] CPU: 0 PID: 3064 Comm: aio-dio-invalid Not tainted 6.2.0+ #3
>> [   72.029347] Hardware name: Red Hat RHEL/RHEL-AV, BIOS
>> 1.15.0-2.module+el8.6.0+14757+c25ee005 04/01/2014
>> [   72.029349] RIP: 0010:try_grab_page+0x65/0x100
>> [   72.029351] Code: 48 89 fa f7 c7 ff 0f 00 00 75 d1 48 8b 07 a9 00
>> 00 01 00 74 c7 48 8b 47 48 48 8d 50 ff a8 01 48 0f 44 d7 8b 42 34 85
>> c0 7f b9 <0f> 0b b8 f4 ff ff ff c3 cc cc cc cc 31 c0 81 e6 00 00 08 00
>> 74 32
>> [   72.029353] RSP: 0018:ffffb14582f8fa80 EFLAGS: 00010282
>> [   72.029354] RAX: 0000000080000001 RBX: ffffd79904a08568 RCX: 8000000000000225
>> [   72.029356] RDX: ffffd7990042fd80 RSI: 0000000000290000 RDI: ffffd7990042fd80
>> [   72.029357] RBP: ffffa00be8215020 R08: 0000000000000000 R09: 0000000000000043
>> [   72.029358] R10: ffffa00be9c50a00 R11: 0000000000000000 R12: 0000000000290000
>> [   72.029358] R13: 8000000010bf6225 R14: ffffd7990042fd80 R15: 0000000000080000
>> [   72.029362] FS:  00007fb185af2740(0000) GS:ffffa01aff600000(0000)
>> knlGS:0000000000000000
>> [   72.029363] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> [   72.029364] CR2: 000055725030d000 CR3: 000000010ff24002 CR4: 00000000007706f0
>> [   72.029365] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>> [   72.029366] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
>> [   72.029367] PKRU: 55555554
>> [   72.029368] Call Trace:
>> [   72.029369]  <TASK>
>> [   72.029370]  follow_page_pte+0x1a7/0x570
>> [   72.029374]  __get_user_pages+0x1a2/0x650
>> [   72.029376]  __gup_longterm_locked+0xdc/0xb50
>> [   72.029379]  internal_get_user_pages_fast+0x17f/0x310
>> [   72.029382]  pin_user_pages_fast+0x46/0x60
>> [   72.029384]  iov_iter_extract_pages+0xc9/0x510
>> [   72.029388]  ? __kmalloc_large_node+0xb1/0x120
>> [   72.029392]  ? __kmalloc_node+0xbe/0x130
>> [   72.029394]  netfs_extract_user_iter+0xbf/0x200 [netfs]
>> [   72.029404]  __cifs_writev+0x150/0x330 [cifs]
>> [   72.029561]  vfs_write+0x2a8/0x3c0
>> [   72.029570]  ksys_pwrite64+0x65/0xa0
>> [   72.029573]  ? syscall_trace_enter.isra.17+0x126/0x1a0
>> [   72.029578]  do_syscall_64+0x58/0x80
>> [   72.029583]  ? exit_to_user_mode_prepare+0x176/0x190
>> [   72.029585]  ? syscall_exit_to_user_mode+0x12/0x30
>> [   72.029589]  ? do_syscall_64+0x67/0x80
>> [   72.029590]  ? syscall_exit_to_user_mode+0x12/0x30
>> [   72.029591]  ? do_syscall_64+0x67/0x80
>> [   72.029592]  ? do_syscall_64+0x67/0x80
>> [   72.029593]  ? do_syscall_64+0x67/0x80
>> [   72.029595]  entry_SYSCALL_64_after_hwframe+0x72/0xdc
>> [   72.029598] RIP: 0033:0x7fb185012448
>> [   72.029601] Code: 89 02 48 c7 c0 ff ff ff ff eb b6 0f 1f 80 00 00
>> 00 00 f3 0f 1e fa 8b 05 06 d0 20 00 49 89 ca 85 c0 75 17 b8 12 00 00
>> 00 0f 05 <48> 3d 00 f0 ff ff 77 60 c3 0f 1f 80 00 00 00 00 41 55 49 89
>> cd 41
>> [   72.029602] RSP: 002b:00007ffd8f67ae48 EFLAGS: 00000246 ORIG_RAX:
>> 0000000000000012
>> [   72.029604] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fb185012448
>> [   72.029605] RDX: 0000000002000000 RSI: 0000000000604000 RDI: 0000000000000004
>> [   72.029606] RBP: 0000000000000003 R08: 0000000000000000 R09: 00007fb18521b2f0
>> [   72.029606] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
>> [   72.029607] R13: 00007ffd8f67aff0 R14: 0000000000000000 R15: 0000000000000000
>> [   72.029609]  </TASK>
>> [   72.029610] ---[ end trace 0000000000000000 ]---
>> [   72.029612] netfs: Couldn't get user pages (rc=-12)



-- 
Thanks,

Steve




[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux