summaryrefslogtreecommitdiff
path: root/source3/smbd/smb2_flush.c
Commit message (Collapse)AuthorAgeFilesLines
* s3/vfs: wrap async io function args inside struct vfs_aio_stateRalph Boehme2016-03-021-3/+4
| | | | | | | | Subsequent commits that are going to track aio request duration in the aio backends will use this. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3: smbd: Remove checks causing fallback to sync on pread/pwrite/fsync.Jeremy Allison2015-11-131-14/+0
| | | | | | | | | Rely on pthreadpool queueing instead of falling back. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* smbd: Issue fsync for SMB2 FLUSH asynchronouslyChristof Schmitt2015-11-131-7/+67
| | | | | | | | | SMB2 FLUSH mainly calls fsync and there is already code in place to handle fsync asynchronously, so use the asynchronous code path for SMB2 FLUSH. This avoids a SMB2 FLUSH stalling other requests processing. Signed-off-by: Christof Schmitt <cs@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org>
* s3:smb2_server: pass smbXsrv_connection to smbd_server_connection_terminate*()Stefan Metzmacher2014-08-061-3/+3
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:smb2_flush: make use of smbd_smb2_generate_outbody()Stefan Metzmacher2014-03-051-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:smb2_flush: make use of SMBD_SMB2_IN_BODY_PTR()Stefan Metzmacher2012-08-051-2/+1
| | | | metze
* s3:smbd: change smb2_flush.c to use fsp_fnum_dbg() for fsp->fnum logging.Michael Adam2012-06-151-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smb2_flush: make use of file_fsp_smb2()Stefan Metzmacher2012-06-091-26/+9
| | | | metze
* s3:smb2_server: use sconn->ev_ctx instead of sconn->smb2.event_ctxStefan Metzmacher2011-12-121-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 12 16:08:59 CET 2011 on sn-devel-104
* s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue()Stefan Metzmacher2011-11-151-1/+1
| | | | metze
* s3:smb2_flush: outbody only needs 4 bytesStefan Metzmacher2011-11-141-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
* s3:smb2_server: use smbd_smb2_request_verify_sizes() in smb2_flush.cStefan Metzmacher2011-09-071-12/+4
| | | | metze
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3: include smbd/smbd.h where needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* (Finally) fix bug #7158 - SMB2 connection resets during IOZone tests from ↵Jeremy Allison2010-05-191-1/+1
| | | | | | | | | | | | 64-bit Vista client It turns out that the persistent handles are used by the Microsoft redirector to index files on oplock break requests. So even if we don't do durable handles (yet) we must set the persistent handle on create. For now just use the same handle value as we use for volatile. Jeremy.
* s3:smbd: implement SMB2 Cancel correctly.Stefan Metzmacher2009-08-171-5/+1
| | | | metze
* libcli: move some common SMB and SMB2 stuff into libcli/smb/Stefan Metzmacher2009-08-121-1/+1
| | | | | | This will hold code that's shared between source3 and source4. metze
* s3:smbd: rename conn => sconn for smbd_server_connection structsStefan Metzmacher2009-08-081-4/+4
| | | | | | | This should avoid confusion between smbd_server_connection and connection_struct variables. metze
* s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-201-1/+1
|
* s3:smbd: send SMB2 interim responses for async callsStefan Metzmacher2009-06-241-0/+5
| | | | metze
* s3:smbd: skip file handle checks for SMB2 compounded requestsStefan Metzmacher2009-06-091-1/+3
| | | | metze
* s3:smbd: split smbd_smb2_flush() into a tevent_req based _send()/_recv() pairStefan Metzmacher2009-06-051-25/+97
| | | | metze
* s3:smbd: implement SMB2 FlushStefan Metzmacher2009-06-031-0/+120
This works only on file shares yet. metze