You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in function page_get_inode, will return the inode via pg->mapping->host
If the file corresponds to the inode(pg->mapping->host) just been removed when calling the page_get_inode function, what's the result? the pg->mapping->host is null or other value? thanks!
The text was updated successfully, but these errors were encountered:
It going to depend on the page cache. If it's synchronized, then the mapping should be null. If for some reason, there's a race, then it should have the old inode value (which isn't great since we could miss recording that a write happened). In our case, this doesn't matter that much since we're only checking against the inode of our cow file, and if that disappears, the snapshot is no good anyway.
HI, I have a question to ask for help.
in function page_get_inode, will return the inode via pg->mapping->host
If the file corresponds to the inode(pg->mapping->host) just been removed when calling the page_get_inode function, what's the result? the pg->mapping->host is null or other value? thanks!
The text was updated successfully, but these errors were encountered: