All of lore.kernel.org
 help / color / mirror / Atom feed
* f2fs do DIO write make file corruption
@ 2021-08-11  2:48 ` Wu Bo
  0 siblings, 0 replies; 12+ 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?

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

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

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

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.