Re: Read operation on Block device.

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

 



On Wed, 29 Sep 2004 09:36:29 -0400, Bijoy Thomas <bijoyjth@xxxxxxx> wrote:
> Once you call read() on a file descriptor, the VFS layer routes it to the read function of the actual filesystem (via the file_operations struct). The filesystem read then calls bread() to get the actual blocks from the disk into memory.
> 
> I think the function you are looking for are bread() and block_read().
> 
> Regards,
> Bijoy.
> 

Now, I got it. The Block device read operation passes through the
buffer cache. Thanks for that info.

Now, If it is not in Buffer Cache. How does Buffer Cache gets data
from the disk. Which function Does it call?

thanks
Manish

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux