Displaying 2 results from an estimated 2 matches for "sa_options".
Did you mean:
as_options
2008 Dec 23
0
[jra@samba.org: Patch to improve Samba write speeds on Linux ext3 with 3.2.x]
...lt.c
index 88c7237..8a724ad 100644
--- a/source/modules/vfs_default.c
+++ b/source/modules/vfs_default.c
@@ -745,10 +745,14 @@ static int vfswrap_ftruncate(vfs_handle_struct *handle, files_struct *fsp, SMB_O
SMB_STRUCT_STAT st;
char c = 0;
SMB_OFF_T currpos;
+ enum smb_strict_allocate_options sa_options = lp_strict_allocate(SNUM(fsp->conn));
START_PROFILE(syscall_ftruncate);
- if (lp_strict_allocate(SNUM(fsp->conn))) {
+ /* Only use allocation truncate if strict allocate
+ * is set "on", not off or partial.
+ */
+ if (sa_options == STRICT_ALLOCATE_ON) {
result = strict...
2001 Oct 15
0
Errors Using rmdir
Setup is as follows
Server:
Solaris 2.6
Samba 2.2.1a
Client:
Windows NT 4.0 SP6
A user is having trouble using the rmdir command to delete a large
directory structure. This has apparently been a problem with the
Samba server for several years, but I was only recently told about
it since I upgraded to the new release of Samba. This directory is
used in the build process of our Java software, and