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

--- Comment #118 from Yuriy Garin (yuriy.ga...@gmail.com) ---
Created attachment 303439
  --> https://bugzilla.kernel.org/attachment.cgi?id=303439&action=edit
debug patch - print page/folio/ref_count

This debug patch prints page, folio and folio reference count.

As far as I understand logic behind 'f2fs_put_page(page, 1); goto repeat;' -
it's an attempt to "unlock" page, release it from page cache and reload again.

(I've found it not easy to distinguish between page and folio pointer - it's a
C union, sometimes used as page, sometimes used as folio - definitely requires
more kernel expertise. Please, tell me what should be done better.)

After two weeks of running this patch, I've caught this GC problem and have a
log. Attaching it in the next message.

-- 
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
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

Reply via email to