https://bugzilla.kernel.org/show_bug.cgi?id=200871
--- Comment #15 from Chao Yu (c...@kernel.org) --- diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 71f5953..1b5d391 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -114,6 +114,11 @@ static void f2fs_write_end_io(struct bio *bio) mapping_set_error(page->mapping, -EIO); if (type == F2FS_WB_CP_DATA) f2fs_stop_checkpoint(sbi, true); + printk("f2fs_write_end_io, ino:%lu, idx:%lu, eio:%d, type:%d\n", + page->mapping->host->i_ino, + page->index, + test_bit(AS_EIO, &page->mapping->flags), + type); } f2fs_bug_on(sbi, page->mapping == NODE_MAPPING(sbi) && diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c index 5907775..76ac293 100644 --- a/fs/f2fs/node.c +++ b/fs/f2fs/node.c @@ -1912,6 +1912,8 @@ int f2fs_wait_on_node_pages_writeback(struct f2fs_sb_info *sbi, } ret2 = filemap_check_errors(NODE_MAPPING(sbi)); + printk("f2fs_wait_on_node_pages_writeback, eio:%d\n", + test_bit(AS_EIO, &NODE_MAPPING(sbi)->flags)); if (!ret) ret = ret2; Could you help to add above code to reproduce this issue in your environment? -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel