linux-f2fs-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* [f2fs-dev] f2fs do DIO write make file corruption
@ 2021-08-11  2:48 Wu Bo
  2021-08-11  3:03 ` Chao Yu
  0 siblings, 1 reply; 6+ messages in thread
From: Wu Bo @ 2021-08-11  2:48 UTC (permalink / raw)
  To: bo.wu, linux-kernel, linux-f2fs-devel

I use the following command to create a file, the file may got corruption:
	f2fs_io write 2 0 512 inc_num dio $path

And when I use bio or to set the chunk size to 1 block, the file is 
normal. The commands as following:
	f2fs_io write 2 0 512 inc_num buffered $path
	f2fs_io write 1 0 512 inc_num dio $path

I find this bug on old kernel version 4.14.117, and not find on version 
4.19.152. So this bug is fixed. Can anyone can tell me which patch fixed 
this bug?


_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

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

end of thread, other threads:[~2021-08-12 12:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-11  2:48 [f2fs-dev] f2fs do DIO write make file corruption Wu Bo
2021-08-11  3:03 ` Chao Yu
2021-08-11  3:28   ` Wu Bo
2021-08-11 12:57     ` Chao Yu
2021-08-12  2:55       ` Wu Bo
2021-08-12 12:17         ` Chao Yu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).