search for: kernel_flock

Displaying 11 results from an estimated 11 matches for "kernel_flock".

2020 Jun 30
3
Issues with FLOCK on NFS Share
...th our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. >> We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba! > kernel oplocks = no Only problem with that, it is the default setting :-( Can we see your smb.conf ? Rowland
2007 Mar 13
10
Need some explanation on Samba/NFS locks handle
...set one of these only read them. Nobody but Samba can ever set a deny mode and we have already checked our more authoritative locking database for permission to set this deny mode. If the kernel refuses the operations then the kernel is wrong */ kernel_flock(fsp, share_access); /* * At this point onwards, we can guarentee that the share entry * is locked, whether we created the file or not, and that the * deny mode is compatible with all current opens. */ kernel_flock : /************************************...
2020 Jul 01
0
Issues with FLOCK on NFS Share
...th our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. >> We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba! > kernel oplocks = no >Only problem with that, it is the default setting :-( > Can we see your smb.conf ? Hi, I have now set kernel share modes = no which solves this issue! Attached my smb.conf. I was wondering if the kernel_flock function in so...
2020 Jun 30
2
Issues with FLOCK on NFS Share
...g fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba! Is it necessary to use file locking when using Samba as fileserver for readonly access with NFS shares? Can I disable locking with #define HAVE_KERNEL_SHARE_MODES 0 in config.h. What are the consequences? Kind regards Georg #GernPerDu #CallMeByMyFirstName B...
2020 Jul 01
2
Issues with FLOCK on NFS Share
...th our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. >> We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba! > kernel oplocks = no >Only problem with that, it is the default setting :-( > Can we see your smb.conf ? Hi, I have now set kernel share modes = no which solves this issue! Attached my smb.conf. I was wondering if the kernel_flock function in so...
2008 Feb 04
5
WinXP/x64 - MFC CFile objects leak parent directory handles
...t the transactions in the lines 39 through 60 in the following formatted audit log don't appear when the programm is run on an x64 XP, which DO get executed when the program is run on a 32-bit XP (the lines following the "getxattr" of "user.DOSATTRIB" after setting the "kernel_flock" on the already opened file). 1 stat T01/T01.ini 2 getxattr T01/T01.ini:user.DOSATTRIB 3 THE PREVIOUS 2 LINES REPEATED 14 TIMES 4 stat . 5 stat T01 6 getxattr No data T01|user.DOSATTR...
2020 Jun 30
0
Issues with FLOCK on NFS Share
...e with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. > We have done some Samba-Debugging and found out, that the call to flock in source3/lib/system.c (kernel_flock) do not return and is blocking samba! kernel oplocks = no > Is it necessary to use file locking when using Samba as fileserver for readonly access with NFS shares? Probably not. -slow -- Ralph Boehme, Samba Team https://samba.org/ Samba Developer, SerNet GmbH https://serne...
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...th acl_xattr. * BUG 11254: nmbd rewrites browse.dat when not required. o Ralph Boehme <slow at samba.org> * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs stuff. * BUG 11224: s3:smbd: Add missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Disseldorp <ddiss at samba.org>...
2015 May 27
0
[Announce] Samba 4.2.2 Available for Download
...th acl_xattr. * BUG 11254: nmbd rewrites browse.dat when not required. o Ralph Boehme <slow at samba.org> * BUG 11213: vfs_fruit: add option "nfs_aces" that controls the NFS ACEs stuff. * BUG 11224: s3:smbd: Add missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. * BUG 11244: vfs_gpfs: Error code path doesn't call END_PROFILE. o Alexander Bokovoy <ab at samba.org> * BUG 11284: s4: libcli/finddcs_cldap: continue processing CLDAP until all addresses are used. o David Disseldorp <ddiss at samba.org>...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...set work_changed = True inside update_server_ttl(). o Andrew Bartlett <abartlet at samba.org> * BUG 11100: debug: Set close-on-exec for the main log file FD. o Ralph Boehme <slow at samba.org> * BUG 11224: s3:smbd: Missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. o Ira Cooper <ira at samba.org> * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code. * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. o G?nther Deschner <gd at samba.org> * BUG 10240: vfs: Add glusterfs manpage. o Davi...
2015 May 12
0
[Announce] Samba 4.1.18 Available for Download
...set work_changed = True inside update_server_ttl(). o Andrew Bartlett <abartlet at samba.org> * BUG 11100: debug: Set close-on-exec for the main log file FD. o Ralph Boehme <slow at samba.org> * BUG 11224: s3:smbd: Missing tevent_req_nterror. * BUG 11243: vfs: kernel_flock and named streams. o Ira Cooper <ira at samba.org> * BUG 11069: vfs_glusterfs: Add comments to the pipe(2) code. * BUG 11115: smbd: Stop using vfs_Chdir after SMB_VFS_DISCONNECT. o G?nther Deschner <gd at samba.org> * BUG 10240: vfs: Add glusterfs manpage. o Davi...