summaryrefslogtreecommitdiff
path: root/source3/modules/gpfs.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-16s3:vfs_gpfs: Fix compile error in gpfs moduleChristof Schmitt1-0/+1
Fix this compile error by adding fcntl.h as a include that defines F_RDLCK and F_WRLCK: modules/gpfs.c: In function ‘set_gpfs_lease’: modules/gpfs.c:102: error: ‘F_RDLCK’ undeclared (first use in this function) modules/gpfs.c:102: error: (Each undeclared identifier is reported only once modules/gpfs.c:102: error: for each function it appears in.) modules/gpfs.c:105: error: ‘F_WRLCK’ undeclared (first use in this function)
2012-03-22s3:vfs_gpfs: Implement fallocate callback for GPFSChristof Schmitt1-0/+12
GPFS provides the gpfs_prealloc call. Implement the fallocate callback with mode VFS_FALLOCATE_EXTEND_SIZE using this call. There is no support for VFS_FALLOCATE_KEEP_SIZE, so report this mode as not available.
2012-03-22s3:vfs_gpfs: add GPFS api calls for quota and free space reportingChristof Schmitt1-0/+76
Add the GPFS api calls for reporting the quotas and free space: - get_gpfs_quota for querying a quota - get_gpfs_fset_id for mapping a path to a fileset id
2012-02-10s3:vfs_gpfs: make "gpfs:getrealfilename" a per share optionStefan Metzmacher1-7/+1
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3:vfs_gpfs: make "gpfs:ftruncate" a per share optionStefan Metzmacher1-3/+1
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2012-02-10s3:vfs_gpfs: make "gpfs:winattr" a per share optionStefan Metzmacher1-5/+3
metze Signed-off-by: Christian Ambach <ambi@samba.org>
2011-11-24s3:vfs:gpfs remove non-working codeChristian Ambach1-65/+0
when development of vfs_gpfs was started a long time ago it was considered a good idea to have it compileable even if GPFS is not around and then the module would complain in the logs that libgpfs is not there Nowadays this does not work any more as the code contains GPFS specific types that need the GPFS header files. Instead of making it compile again by adding GPFS typedefs, this removes the whole approach. Other VFS modules also do not even compile when necessary headers are not around, so do the same for the GPFS module code.
2011-09-23Revert "Add a missing include file to two VFS modules"Jeremy Allison1-1/+0
My mistake - should have been 3.6.x only. This reverts commit 2e4d0641950ce6e38724ca71b46cf925f51ac7be.
2011-09-15Add a missing include file to two VFS modulesRichard Sharpe1-0/+1
Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Sep 15 02:56:36 CEST 2011 on sn-devel-104
2011-07-05s3:modules fix non-empty blank linesChristian Ambach1-3/+3
2011-05-18s3-modules: Fix the build of gpfs.c on RHEL 6.0 with gpfs 3.4.0-4Björn Baumbach1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 18 11:58:14 CEST 2011 on sn-devel-104
2011-04-26s3:vfs use gpfs_lib_initChristian Ambach1-0/+18
With newer GPFS releases, libgpfs contains a function gpfs_lib_init(). It marks the pseudo-device the lib uses as interface to the GPFS kernel module to not be to destroyed after each call to GPFS. This saves us some microseconds creating and removing the device each time we do a call to libgpfs. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 26 20:52:36 CEST 2011 on sn-devel-104
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner1-0/+1
Guenther
2010-10-28s3: FILE_WRITE_DATA & friends have gone from includes.hVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Oct 28 13:37:06 UTC 2010 on sn-devel-104
2010-10-13s3:gpfs: Add support for the gpfs_ftruncate callChristian Ambach1-2/+14
ported from the v3-4-ctdb branch to master This used to be commit 1f138cc9f4a Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 13 13:34:25 UTC 2010 on sn-devel-104
2010-10-13s3:vfs:gpfs convert sharemodes/leases parameterChristian Ambach1-12/+0
convert gpfs:sharemodes and gpfs:leases parameters from a global setting to a per share setting
2009-09-28changed debuglevel for two messages in the GPFS module from 0 to 10 they ↵Christian Ambach1-2/+2
spammed the logs on a test machine and they are just debug messages, so let's move them to the level of the other debug messages in the file Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-06-02Support getting gpfs birthtimeVolker Lendecke1-0/+13
2009-06-02Store winattrs in GPFSMathias Dietz1-0/+41
1. Store win attributes in gpfs instead of posix bits. 2. use of path based winattr calls of gpfs. Signed-off-by: Mathias Dietz <mdietz@de.ibm.com>
2009-03-04Make use of gpfs_get_real_filename optionalVolker Lendecke1-1/+5
2008-12-10Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke1-0/+25
(cherry picked from commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58) Signed-off-by: Michael Adam <obnox@samba.org>
2008-12-10s3:modules/gpfs: Fix nonempty blank linesVolker Lendecke1-2/+2
2008-12-10Revert "Fix some merge omissions for GPFS"Volker Lendecke1-5/+5
This reverts commit a0efc4cffbd84898c454d27eaf946d073dfdad0f. This one should have been done with careful cherry-picks, sorry. Volker
2008-12-10Revert "Make use of smbd_gpfs_get_realfilename_path in unix_convert"Volker Lendecke1-25/+0
This reverts commit b37684ffcec4ba0beada55d37bcaf4f5e79bcd58.
2008-12-10Make use of smbd_gpfs_get_realfilename_path in unix_convertVolker Lendecke1-0/+25
2008-12-10Fix some merge omissions for GPFSVolker Lendecke1-5/+5
2008-11-24Search for gpfs functions in both libgpfs_gpl.so an libgpfs.soMathias Dietz1-47/+45
As of GPFS 3.2.1 PTF8 libgpfs will be available as GPL, so we don't need the special libgpfs_gpl lib anymore. For backwards compatibility with pre-PTF8 GPFS installations, still look there.
2008-11-01Remove sys_dl*() - stubs are already provided by libreplace.Jelmer Vernooij1-8/+8
2008-01-16Merge latest fixes to vfs_gpfs and NFS4 ACLs from Samba 3.0 CTDB branch ↵Alexander Bokovoy1-7/+13
(from http://samba.org/~tridge/3_0-ctdb) Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit 1daad835cbfb4615a8fe7a241f4d578f7e69f214)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disableVolker Lendecke1-33/+28
gpfs share modes in special situations. This might be split up in several modules later. (This used to be commit 553fe9245165ce4a14902daa722935c94ff32d61)
2007-10-10r21004: Patch from Mathias Dietz <MDIETZ@de.ibm.com> to fix multi-nodeJim McDonough1-1/+1
sharemodes in gpfs. (This used to be commit 61841b225c2a09dcdb4b1242cb0ad0429ec1948e)
2007-10-10r20717: Merge sharemode patch from Mathias Dietz <MDIETZ@de.ibm.com>.Jim McDonough1-4/+9
The patch fixes the behaviour of GPFS sharemodes when the access mask is no_access. (This used to be commit 799967c66879b4d6e28f1af6ba27c67f0b1deaeb)
2007-10-10r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough1-0/+231
the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter. (This used to be commit 0620658890fa9c68a9848538728023192319c81a)