Bug 8274 - GPFS vfs module on AIX
Summary: GPFS vfs module on AIX
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: VFS Modules (show other bugs)
Version: 3.5.9
Hardware: PPC AIX
: P5 normal
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2011-06-28 14:56 UTC by Yannick Bergeron (mail address dead)
Modified: 2022-03-06 23:34 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Yannick Bergeron (mail address dead) 2011-06-28 14:56:40 UTC
This module doesn't work on AIX without modifications to its source code.
It invoke some methods that are not available with GPFS for AIX (at least with GPFS
In Samba 3.3.6, I've been able to make it works by adding several "#ifdef AIX" (which is quite ugly) and a few other modifications.

I know William Jojo and Miguel Sanders (which I have lost track of) were doing similar thing a few months/years ago.

I'm currently in the process of updating to Samba 3.5.9
I'm looking to get a patch pushed into master, v3-6-test and v3-5-test which would allow this module to work on AIX.

I'll inform Christian Ambach that I've opened this bug report and will provide him the patch I'm currently using.
I'll also inform William Jojo of this bug report, in which he might have interest.
If anyone know how to contact Miguel Sanders, he could also have interest in it.

Best regards,

Yannick Bergeron
Comment 1 Christian Ambach 2011-06-28 15:23:58 UTC
Can you name the functions that are not in libgpfs on AIX?
Comment 2 Yannick Bergeron (mail address dead) 2011-06-28 18:32:50 UTC
In modules/gpfs.c
Those 3 subroutines had to return True and set errno to ENOSYS

In modules/gpfs.c again
In init_gpfs_function_lib, dlopen had to be invoked differently on AIX

In modules/gpfs.c again
In init_gpfs_function, init_gpfs_function_lib had to be invoked differently on AIX

Finally, in modules/vfs_gpfs.c
In vfs_gpfs_setlease, the linux*set*lease calls had to be skipped on AIX
Comment 3 Christian Ambach 2014-05-14 15:24:13 UTC
I do not have access to AIX machines any more, so no chance to work on this efficiently.
Comment 4 Björn Jacke 2022-03-06 23:34:32 UTC
shoud be fixed in master with 4e464fc96ae3b431796223776ded83bcc9d14c6f