No Subject

Anonymous Anonymous
Sun Jan 2 06:12:36 CET 2000


a "read" syscall get to translate to "vn_read" for reading a file,
and "vn_read" dispatch the call to the specific underlying fs read using 
infomation store in the vnode.  In the case of xfs, "xfs_read" would be
called.  

Now I don't see where you check whether the vnode object is in
memory or not.  Is the function "xfs_data_valid" used for that?  it only
checks for XFS_TOKEN_SET.  Also when xfs_data_valid returns, "xfs_read"
would call VOP_READ, which is used by vn_read to find the underlying
fs read.  Why would xfs_read call VOP_READ again?

Thanks,

Cheng

------------------------------------------
Say who you are, but know who you are not.






More information about the Arla-drinkers mailing list