From 7a4cff842d342d77631912fdcee05521506eec52 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Mon, 21 Feb 2011 18:25:36 +0100 Subject: 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 Autobuild-Date: Tue Apr 26 20:52:36 CEST 2011 on sn-devel-104 --- source3/modules/vfs_gpfs.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/modules/vfs_gpfs.h') 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(); -- cgit From 32198182b3f90662107bbcf180cdc92ed8e0bc8d Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 31 May 2011 21:59:24 +0200 Subject: s3:modules fix some non-empty blank lines --- source3/modules/vfs_gpfs.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'source3/modules/vfs_gpfs.h') diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h index 8a314e1103..4a05841feb 100644 --- a/source3/modules/vfs_gpfs.h +++ b/source3/modules/vfs_gpfs.h @@ -1,26 +1,25 @@ /* Unix SMB/CIFS implementation. Wrap gpfs calls in vfs functions. - + Copyright (C) Christian Ambach 2006 - + Major code contributions by Chetan Shringarpure and Gomati Mohanan - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - */ -- cgit