On Fri, Nov 3, 2023 at 11:30 PM Shijie Huang <shijie@amperemail.onmicrosoft.com> wrote:

在 2023/11/3 21:14, lijiang 写道:

I guess all the invalid page is "0" which means an empty page cache slot, so could you please try this:

No, last time it printed some invalid pages(not only zero values), you could refer to this:

crash> files -n ffff8ea84c130938
     INODE        NRPAGES
ffff8ea84c130938    62527

files: page_to_nid: invalid page: 0
files: page_to_nid: invalid page: 0
files: page_to_nid: invalid page: 0
files: page_to_nid: invalid page: 10
files: page_to_nid: invalid page: 10
files: page_to_nid: invalid page: 10
files: page_to_nid: invalid page: 20
files: page_to_nid: invalid page: 20
files: page_to_nid: invalid page: 20
files: page_to_nid: invalid page: 30
files: page_to_nid: invalid page: 30
files: page_to_nid: invalid page: 30
files: page_to_nid: invalid page: 40
files: page_to_nid: invalid page: 40
files: page_to_nid: invalid page: 40
files: page_to_nid: invalid page: 50
files: page_to_nid: invalid page: 50
files: page_to_nid: invalid page: 50
files: page_to_nid: invalid page: 60
files: page_to_nid: invalid page: 60
...

Here is the link:

https://lists.crash-utility.osci.io/archives/list/devel@lists.crash-utility.osci.io/thread/7ZBSSZ7SKP73EZYAJEZYRLWCG2N5J4KQ/  

Thanks
Lianbo