Bug 215357
Summary: | ubifs: ubifs_assert_failed [ubifs]: UBIFS assert failed: 0, in fs/ubifs/file.c:1499 | ||
---|---|---|---|
Product: | File System | Reporter: | Zhihao Cheng (chengzhihao1) |
Component: | Other | Assignee: | fs_other |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.16-rc5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
delay.patch
a.c setup.sh |
Description
Zhihao Cheng
2021-12-18 09:37:31 UTC
reproducer: 1. Apply diff.patch 2. ./setup.sh 1 3. compile a.c && run ./aa [ 36.067603] UBIFS error (ubi0:0 pid 7320): ubifs_write_inode [ubifs]: can't write inode 65, error -12 [ 36.177111] UBIFS error (ubi0:0 pid 7320): ubifs_releasepage [ubifs]: cannot walk here [ 36.180252] UBIFS error (ubi0:0 pid 7320): ubifs_assert_failed [ubifs]: UBIFS assert failed: 0, in fs/ubifs/file.c:1499 [ 36.183350] UBIFS warning (ubi0:0 pid 7320): ubifs_ro_mode [ubifs]: switched to read-only mode, error -22 [ 36.185694] CPU: 1 PID: 7320 Comm: aa Not tainted 5.16.0-rc5-00183-g610079b72f07-dirty #299 [ 36.187718] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ?-20190727_073836-buildvm-ppc64le-16.ppc.fedoraproject.org-3.fc31 04/01/2014 [ 36.190904] Call Trace: [ 36.191512] <TASK> [ 36.192045] ? dump_stack_lvl+0x73/0x9f [ 36.192989] ? dump_stack+0x13/0x1b [ 36.193844] ? ubifs_ro_mode+0x54/0x60 [ubifs] [ 36.194910] ? ubifs_assert_failed+0x4b/0x80 [ubifs] [ 36.195606] ? ubifs_releasepage+0x7e/0x1e0 [ubifs] [ 36.196291] ? try_to_release_page+0x57/0xe0 [ 36.196877] ? invalidate_inode_page+0xfb/0x130 [ 36.197494] ? __invalidate_mapping_pages+0xb9/0x280 [ 36.198184] ? blk_finish_plug+0x31/0x50 [ 36.198720] ? generic_writepages+0x6f/0xb0 [ 36.199297] ? do_writepages+0xcc/0x200 [ 36.199828] ? virtballoon_restore+0x171/0x1a0 [ 36.200443] ? filemap_fdatawrite_wbc+0xb1/0x100 [ 36.201075] ? __filemap_fdatawrite_range+0x5c/0x80 [ 36.201744] ? invalidate_mapping_pagevec+0x12/0x20 [ 36.202409] ? generic_fadvise+0x303/0x3c0 [ 36.202979] ? vfs_fadvise+0x35/0x40 [ 36.203469] ? ksys_fadvise64_64+0x4c/0xb0 [ 36.204034] ? __x64_sys_fadvise64+0x22/0x30 [ 36.204640] ? do_syscall_64+0x35/0x80 [ 36.205167] ? entry_SYSCALL_64_after_hwframe+0x44/0xae [ 36.205889] </TASK> Created attachment 300063 [details]
delay.patch
Created attachment 300065 [details]
a.c
Created attachment 300067 [details]
setup.sh
|