Re: [f2fs-dev] [PATCH v1 07/12] f2fs: cache: use node cache

Wenjie Qi <[email protected]>
Newsgroups net.sourceforge.lists.linux-f2fs-devel,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Hi Chao,

> out_err:
> 	f2fs_clear_cache_dirty(entry);

Both the inode-checksum and footer-validation failure paths reach this label.
`f2fs_clear_cache_dirty()` clears the DIRTY state bit, but it does not clear
UPTODATE or synchronize the DIRTY radix tag and dirty-node counter.

What invariant keeps these states consistent after node validation fails?


_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.