Re: [PATCH v1 07/12] f2fs: cache: use node cache
Wenjie Qi <[email protected]>
| Newsgroups | gmane.linux.kernel,gmane.linux.file-systems.f2fs |
|---|---|
| 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?