Re: generic_file_read/write

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

 



Hi Prasanna,

--- prasanna wakhare <prasannawakhare@xxxxxxxxx>
wrote:
> hi all,
> EXT2 and many disk based filesystems used the
> generic_file_read/write provided by VFS layer for
> readinf and writing but EXT3 and NFS have their
> custom
> functions for that,

The VFS provides a generic interface for implementing
various filesystems.Considering that EXT2 was the
native filesystem for Linux, I think most of the work
for opening a file in this fs type is done by VFS
using the generic_file_read/write.But EXT3 and NFS 
have too specialized requirements from a read and
write operation, thats why they are implemented
separately.Since the VFS generic_file_read/write are
also needed by other filesystem types they cannot be
changed.
 
> i mean to say why networked file systems needs
> special
> call for that can VFS will not handle that too,
Again, VFS is only a generic interface for filesystems
and not a 'universal file system services provider'
sort of a thing.


> thanks
> and Sorry if i have'n't dont my homework proper in
> filesystems
You can google for and read the vfs.txt in kernel docs
and the VFS commentary by Neil Brown for starters.

> thanks
> Prasanna


-Shehjar



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

--
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