[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About generic_file_read()



Hello ,
 Generic_file_read() reads from cached pages. That means the file pages r already in page cache. But if I want to read file from disk, How these pages comes in page cache. Ext2 & vfat call this generic_file_read() as their read operation. I analyzed the sys_read() code but didn't get how file is read from disk. Can anyone tell me about that?
 Thanks.
 
 
 
 
From,
Prasad