beegfs icon indicating copy to clipboard operation
beegfs copied to clipboard

Questions about the design of inode->i_op

Open MingWangSong opened this issue 1 year ago • 0 comments

Hey beegfs developpers: I had a question about beegfs.

In file ./client_module/source/filesystem/FhgfsOpsInode.c, when defining the inode manipulation function, I found that inode->i_op = App_getFileInodeOps(app), which made me wonder why we need fileInodeOps in App instead of defining an manipulation function structure directly. Similar to fhgfs_file_native_ops

Thanks in advance.

MingWangSong avatar Oct 07 '24 13:10 MingWangSong