beegfs
beegfs copied to clipboard
Questions about the design of inode->i_op
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.