Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-07-31 | s3: Make request_timed_out() static | Volker Lendecke | 1 | -2/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-07-19 | s3-aio: Panic if we try to close a fsp with outstanding aio requests | Volker Lendecke | 1 | -1/+0 | |
The core smbd must have taken care of this. If we don't do this properly, we have a race of the close(2) against a pwrite(2). We might end up writing to the wrong file. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Jul 19 03:40:17 CEST 2012 on sn-devel-104 | |||||
2012-07-18 | s3: Fix the build | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3-aio: Remove unused VFS functions and more | Volker Lendecke | 1 | -3/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-18 | s3: Properly handle shutdown with the _send/_recv based aio | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-12 | Add an optimization to pthread aio writes to also do fsync if requested. | Jeremy Allison | 1 | -0/+1 | |
Should help by ensuring complete writes done in sub-thread, not in the main thread. | |||||
2012-07-12 | s3: Factor out "mark_file_modified" | Volker Lendecke | 1 | -0/+1 | |
This is in preparation of making us survive base-delaywrite with async I/O activated Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2012-07-09 | Make check_same_stat() and check_same_dev_ino() common functions. | Jeremy Allison | 1 | -2/+0 | |
2012-07-03 | s3:smbd:smb2: fix prototype of make_connection_smb2() to use smbXsrv_tcon | Michael Adam | 1 | -2/+1 | |
instead of internal smbXsrv_tcon0. | |||||
2012-06-30 | Don't allow asynchronous creates to be canceled in SMB2. | Jeremy Allison | 1 | -0/+1 | |
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Jun 30 04:10:02 CEST 2012 on sn-devel-104 | |||||
2012-06-30 | Make schedule_deferred_open_message_smb() return an indication of success. | Jeremy Allison | 1 | -1/+1 | |
2012-06-29 | s3:smbd: make use of smbXsrv_open for smb1/2/3 | Stefan Metzmacher | 1 | -1/+0 | |
This makes sure we generate unique persistent file ids, which are stored in smbXsrv_open_global.tdb. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 29 21:01:11 CEST 2012 on sn-devel-104 | |||||
2012-06-25 | s3:smbd: remove now unused invalidate_all_vuids() | Stefan Metzmacher | 1 | -1/+0 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: remove now unused conn_close_all() | Michael Adam | 1 | -1/+0 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_session for smb1 | Stefan Metzmacher | 1 | -8/+0 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon for smb1 | Stefan Metzmacher | 1 | -3/+0 | |
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-25 | s3:smbd: make use of smbXsrv_tcon and smbXsrv_session for smb2 | Stefan Metzmacher | 1 | -2/+3 | |
The removes the protocol specific smbd_smb2_session and smbd_smb2_tcon. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-19 | TDB2: make SAMBA use tdb1 again for the moment. | Rusty Russell | 1 | -5/+0 | |
Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2012-06-15 | s3:files: factor fsp_free() out of file_free() | Michael Adam | 1 | -0/+1 | |
To be reused in the durable reconnect code. Pair-Programmed-With: Volker Lendecke <vl@samba.org> | |||||
2012-06-15 | s3:smbd: refactor fsp_new() out of file_new() | Michael Adam | 1 | -0/+2 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-14 | s3:smbd: add a fsp_persistent_id() function | Stefan Metzmacher | 1 | -0/+1 | |
This calculates a 64-bit value that most likely uniquely identifies the files_struct globally to the server. * 32-bit random gen_id * 16-bit truncated open_time * 16-bit fnum (valatile_id) Based on code from Ira Cooper. Use fsp->fh->gen_id as the persistent fileid in SMB2. Pair-Programmed-With: Michael Adam <obnox@samba.org> metze | |||||
2012-06-09 | s3:smbd: add file_fsp_smb2() | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2012-06-08 | s3:smbd: change set_file_oplock() to return NTSTATUS | Michael Adam | 1 | -1/+1 | |
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Fri Jun 8 23:20:20 CEST 2012 on sn-devel-104 | |||||
2012-06-06 | s3:include: change connection_struct->cnum to uint32_t | Michael Adam | 1 | -1/+1 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-06-06 | s3:smbd: change user_struct->vuid to uint64_t | Stefan Metzmacher | 1 | -9/+9 | |
Only sconn->smb1.sessions.next_vuid remains as uint16_t, so that we do not generate larger values yet. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jun 6 12:07:33 CEST 2012 on sn-devel-104 | |||||
2012-06-06 | s3:smbd: let file_close_pid/file_close_user take a uint64_t vuid | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2012-06-06 | s3:smbd: pass down vuid as uint64_t in lanman.c | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: change vuid to uint64_t in uid.c | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2012-06-06 | s3:smbd: let close_cnum() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: let make_connection() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: let conn_clear_vuid_caches() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:smbd: use 'struct user_struct' instead of typedef'ed 'user_struct' | Stefan Metzmacher | 1 | -5/+5 | |
metze | |||||
2012-06-06 | s3:include: move some prototypes (e.g. smb_register_vfs) to vfs.h | Stefan Metzmacher | 1 | -9/+0 | |
These are called from vfs modules, which should not depend on smbd/proto.h metze | |||||
2012-06-06 | s3:smbd: add change_notify_fsp_has_changes() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-06-06 | s3:smbd: fcb_or_dos_open() can be static | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2012-06-06 | s3:smbd: add vfs_remove_all_fsp_extensions() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-06-03 | s3:smbd: make conn_close_all() a void function | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-05-25 | s3:smbd: pass smbd_server_connection to should_notify_deferred_opens() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-05-25 | s3:smbd: remove unused get_number_of_exclusive_open_oplocks() | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2012-05-24 | s3:smbd: remove global 'smbd_server_conn' !!! | Stefan Metzmacher | 1 | -1/+3 | |
For now we still use a global 'global_smbXsrv_connection' in order to pass the connection state to exit_server*(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 20:07:20 CEST 2012 on sn-devel-104 | |||||
2012-05-24 | s3:smbd/files: split file_init_global() out of file_init() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-05-24 | s3:smbd/msdfs: pass allow_broken_path to resolve_dfspath_wcard() | Stefan Metzmacher | 1 | -0/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 24 16:14:01 CEST 2012 on sn-devel-104 | |||||
2012-05-24 | s3:smbd/msdfs: pass 'allow_broken_path' to get_referred_path() | Stefan Metzmacher | 1 | -1/+1 | |
Note the DCERPC code should not be smb2 specific! I wonder why this is at all smb2 specific... metze | |||||
2012-05-24 | s3:smbd/msdfs: let create_conn_struct() also fake the 'smbd_server_connection' | Stefan Metzmacher | 1 | -6/+7 | |
metze | |||||
2012-05-23 | s3:smbd/proto.h: remove unused resolve_dfspath() prototype | Stefan Metzmacher | 1 | -5/+0 | |
metze | |||||
2012-05-23 | s3:smbd: add nt_status_np_pipe() | Stefan Metzmacher | 1 | -0/+1 | |
This mapps between NT_STATUS_CONNECTION_* to NT_STATUS_PIPE_* metze | |||||
2012-05-16 | s3:onefs: remove all onefs related code as it not maintained anymore | Stefan Metzmacher | 1 | -4/+0 | |
See https://lists.samba.org/archive/samba-technical/2012-May/083631.html for the discussion. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed May 16 11:23:05 CEST 2012 on sn-devel-104 | |||||
2012-04-17 | s3: New notify implementation | Volker Lendecke | 1 | -8/+19 | |
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster | |||||
2012-04-12 | Remove cancel_aio_by_fsp(). It can never work and could lead to memory ↵ | Jeremy Allison | 1 | -1/+0 | |
corruption as outstanding IO's complete. Also we never have any aio's on a call to close_normal_file() with close_type ERROR_CLOSE. | |||||
2012-04-11 | s3:smbd add seperate function to initialize kernel oplocks | Christian Ambach | 1 | -0/+1 | |
Signed-off-by: Jeremy Allison <jra@samba.org> |