s3:vfs use gpfs_lib_init
authorChristian Ambach <christian.ambach@de.ibm.com>
Mon, 21 Feb 2011 17:25:36 +0000 (18:25 +0100)
committerVolker Lendecke <vlendec@samba.org>
Tue, 26 Apr 2011 18:52:36 +0000 (20:52 +0200)
commit7a4cff842d342d77631912fdcee05521506eec52
treedd2e26fbecf4c3ca78e4e03e5d2633ce3138bebc
parent633dbabe912f43fd4199453720fab299ccfefe03
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
source3/modules/gpfs.c
source3/modules/vfs_gpfs.c
source3/modules/vfs_gpfs.h