August 21, 2014

New File-system not exporting on NFS

I wrote simple file system from scratch. This file system performs most of the jobs expected from a file system e.g. regular file creation/deletion, truncating regular file, free space management.... .
The problem is that I am not able to mount the file system over NFS. When starting the nfs service, I get the error that my new file-system does not supports NFS export. I am unsure about any extra features in the file-system needed to support NFS.
Does anyone have a general idea about the required file-system features/operations whose implementation is needed to allow file-system to be exported over NFS e.g. required inode_operations, file_operations or super_operations ?