summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_gpfs.h
diff options
context:
space:
mode:
authorChristian Ambach <christian.ambach@de.ibm.com>2011-02-21 18:25:36 +0100
committerVolker Lendecke <vlendec@samba.org>2011-04-26 20:52:36 +0200
commit7a4cff842d342d77631912fdcee05521506eec52 (patch)
treedd2e26fbecf4c3ca78e4e03e5d2633ce3138bebc /source3/modules/vfs_gpfs.h
parent633dbabe912f43fd4199453720fab299ccfefe03 (diff)
downloadsamba-7a4cff842d342d77631912fdcee05521506eec52.tar.gz
samba-7a4cff842d342d77631912fdcee05521506eec52.tar.bz2
samba-7a4cff842d342d77631912fdcee05521506eec52.zip
s3:vfs use gpfs_lib_init
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
Diffstat (limited to 'source3/modules/vfs_gpfs.h')
-rw-r--r--source3/modules/vfs_gpfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h
index 46cfdfea0a..8a314e1103 100644
--- a/source3/modules/vfs_gpfs.h
+++ b/source3/modules/vfs_gpfs.h
@@ -36,3 +36,4 @@ int get_gpfs_winattrs(char * pathname,struct gpfs_winattr *attrs);
int set_gpfs_winattrs(char * pathname,int flags,struct gpfs_winattr *attrs);
int smbd_gpfs_ftruncate(int fd, gpfs_off64_t length);
void init_gpfs(void);
+void smbd_gpfs_lib_init();