VFS Operation table

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Dec 6 6:44
Editor
Edited
Edited
2023 Dec 6 6:51
Refs
Refs

핵심개념

This set of operations is the interface provided by the underlying file system to the VFS layer
  • Actual functions are implemented in filesystem modules.
  • Operation table are populated when the VFS object is loaded or initialized
  • Operations should be filesystem type dependent
 
 
 

Object Methods

  • super_opeations object: contains the methods that the kernel can invoke on a specific file system, such as read_inode() and sync_fs().
notion image
  • inode_operatins object: contains methods that the kernel can invoke on a specific file, such as create() and link().
notion image
  • dentry_operations object: contain methods that the kernel can invoke on a specific directory entry, such as d_compare() and d_delete().
notion image
  • file_operations objet: contain methods that a process can invoke on an open file, such as read() and write().
notion image
 
 
 
 
 

Recommendations