Re: [PATCH v2 07/12] f2fs: cache: use node cache

From: Wenjie Qi

Date: Tue Aug 25 2026 - 01:43:34 EST


Hi Chao,

> entry = xa_load(&META_CACHE(sbi)->root, nid);
> if (entry)
> return;
>
> entry = f2fs_grab_node_cache(sbi, nid);

The first lookup uses `nid` against `META_CACHE`, whose keys are physical
block addresses, while the subsequent cache operation uses the NID-keyed node
cache.

Is the lookup here intended to test the PBA-keyed meta cache or the NID-keyed
node cache?