Talk:BeeGFS Installation
Jump to navigation
Jump to search
Debian Client Installation[edit]
Client build has two issues:
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/filesystem/FhgfsOpsInode.c: In function ‘FhgfsOps_atomicOpen’:
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/filesystem/FhgfsOpsInode.c:1254:29: error: ‘FILE_CREATED’ undeclared (first use in this function); did you mean ‘FMODE_CREATED’?
*outOpenedFlags |= FILE_CREATED;
^~~~~~~~~~~~
FMODE_CREATED
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/filesystem/FhgfsOpsInode.c:1254:29: note: each undeclared identifier is reported only once for each function it appears in
/opt/beegfs/src/client/beegfs_client_module_6/build/../source/filesystem/FhgfsOpsInode.c:1309:13: error: too many arguments to function ‘finish_open’
retVal = finish_open(file, dentry, generic_file_open, outOpenedFlags);
^~~~~~~~~~~
In file included from /usr/src/linux-headers-4.19.0-5-common/include/linux/cgroup.h:17,
from /usr/src/linux-headers-4.19.0-5-common/include/linux/kthread.h:7,
from /opt/beegfs/src/client/beegfs_client_module_6/build/../source/common/Common.h:6,
from /opt/beegfs/src/client/beegfs_client_module_6/build/../source/app/config/Config.h:4,
from /opt/beegfs/src/client/beegfs_client_module_6/build/../source/app/log/Logger.h:4,
from /opt/beegfs/src/client/beegfs_client_module_6/build/../source/filesystem/FhgfsOpsInode.c:1:
/usr/src/linux-headers-4.19.0-5-common/include/linux/fs.h:2479:12: note: declared here
extern int finish_open(struct file *file, struct dentry *dentry,
^~~~~~~~~~~
I made the suggested change from FILE_CREATED to FMODE_CREATED to fix the first issue, and removed the 'outOpenedFlags' parameter from the function call to fix the second. Everything builds, and seems to function properly, but I am unsure as to whether these change actually broke anything.
A search online indicates that there isn't yet any official support for kernel 4.19, which may be the source of these errors.
I found the beegfs Gitlab instance (https://git.beegfs.com/pub/v7) and noticed that they had fixed these errors -- exactly as I had, so that makes me feel better!