Skip to contentSkip to conversation

New: first 4K all zeros when release_cblocks set, reserve_cblocks restores access

f2fs-dev [email protected] 1 participant 1 message Nov 3, 2023

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218096

Bug ID: 218096
Summary: first 4K all zeros when release_cblocks set,
reserve_cblocks restores access
Product: File System
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: f2fs
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Using 6.1.51 on armv7 when I release compressed blocks then the first page I read from a file on the F2FS filesystem is all zeros.

f2fs_io release_cblocks <FILE>
hd <FILE> | head
(first 4K is all zero)
f2fs_io reserve_cblocks <FILE>
hd <FILE> | head
(first 4K now reads correctly)

I am having trouble reproducing this in a virtual machine however. This machine has 3.5G/4G if that is somehow relevant.

Signature · 9 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel