Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | become root for AIO operations | Andrew Tridgell | 2008-08-26 | 1 | -1/+7 |
| | | | | | | We need to become root for AIO read and write to allow the AIO thread to send a completion signal to the parent process when the IO completes | ||||
* | Allow "max mux" async i/o requests | Volker Lendecke | 2008-02-24 | 1 | -5/+9 |
| | | | | | | | | | In the negprot reply, we allowed the client to issued "max mux" concurrent requests. The OS might allow less, for example AFAIK AIX has a configurable limit of concurrent AIO requests. We will fall back to sync operation for the requests that are too many when aio_read/aio_write return an error. Jeremy, please check! | ||||
* | Export aio_request_done() | Volker Lendecke | 2008-02-24 | 1 | -3/+9 |
| | | | | | This is for external modules implementing the Posix AIO API that not necessarily depend on the signal mechanism to indicate completion. | ||||
* | AIO on streams does not work (yet...) | Volker Lendecke | 2008-02-24 | 1 | -0/+12 |
| | |||||
* | Update position information also for AIO | Volker Lendecke | 2008-02-19 | 1 | -0/+5 |
| | | | | | | Necessary to survive RAW-SEEK with AIO enabled. Jeremy, please check! | ||||
* | Inform level II oplock holders when we write using AIO | Volker Lendecke | 2008-02-19 | 1 | -0/+2 |
| | | | | Jeremy, please check! | ||||
* | Re-enable async I/O for non-TSM systems | Volker Lendecke | 2008-01-30 | 1 | -2/+4 |
| | | | | | | | The logic was wrong: A "SMB_VFS_AIO_FORCE()==False" disabled async I/O, whereas a "SMB_VFS_AIO_FORCE()==True" should enforce it regardless of other settings. Alexander, please check! | ||||
* | Remove an unused variable | Volker Lendecke | 2008-01-12 | 1 | -1/+0 |
| | |||||
* | Remove redundant parameter fd from SMB_VFS_AIO_CANCEL(). | Michael Adam | 2008-01-08 | 1 | -1/+1 |
| | | | | Michael | ||||
* | Refactor the crypto code after a very helpful conversation | Jeremy Allison | 2008-01-04 | 1 | -13/+14 |
| | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. | ||||
* | Fix the build | Volker Lendecke | 2007-12-27 | 1 | -2/+3 |
| | |||||
* | Add SMB encryption. Still fixing client decrypt but | Jeremy Allison | 2007-12-26 | 1 | -6/+11 |
| | | | | | negotiation works. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -12/+12 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-test | Gerald (Jerry) Carter | 2007-10-10 | 1 | -20/+161 |
| | |||||
* | r24332: schedule_aio_read_and_X does not need InBuf/OutBuf | Volker Lendecke | 2007-10-10 | 1 | -13/+12 |
| | |||||
* | r24279: Remove reply_prep_legacy from reply_write_and_X | Volker Lendecke | 2007-10-10 | 1 | -18/+18 |
| | |||||
* | r24049: Some more 64-bit warnings | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | |||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r23508: Fix sync_file() to return NTSTATUS and return this | Jeremy Allison | 2007-10-10 | 1 | -1/+8 |
| | | | | | on failure in the write path. Jeremy. | ||||
* | r22411: Fix the build: | Michael Adam | 2007-10-10 | 1 | -3/+5 |
| | | | | | | | | | | Prototype of create_aio_ex_read, set_message and definition of UNIXERROR have changed in r22389 and r22391? to require an additional "inbuf" argument. Some places in smbd/aio.c had not been adapted. This patch fixes the build. Michael | ||||
* | r22391: Looks bigger than it is. Make "inbuf" available | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. | ||||
* | r22389: Start preparing for multiple encryption contexts in the | Jeremy Allison | 2007-10-10 | 1 | -3/+13 |
| | | | | | | server. Allow server to reflect back to calling client the encryption context that was sent. Jeremy. | ||||
* | r21279: Get rid of 'aio write behind', this is broken. | Volker Lendecke | 2007-10-10 | 1 | -155/+1 |
| | | | | | | It should probably better be integrated with our write cache. Volker | ||||
* | r21278: The main goal of this was to get rid of the NetInBuffer / ↵ | Volker Lendecke | 2007-10-10 | 1 | -41/+13 |
| | | | | | | | | | | | | | | | | set_InBuffer. But it turns out that this patch actually speeds up the async writes considerably. I tested writing 100.000 times 65535 bytes with the allowed 10 ops in parallel. Without this patch it took about 32 seconds on my dual-core 1.6GHz laptop. With this patch it dropped to about 26 seconds. I can only explain it by better cache locality, NewInBuffer allocates more than 128k, so we jump around in memory more. Jeremy, please check! Volker | ||||
* | r21277: Fix an off by one error in the signal handler for aio: We can ↵ | Volker Lendecke | 2007-10-10 | 1 | -1/+1 |
| | | | | | | | | | | actually receive AIO_PENDING_SIZE signals, not one less. Jeremy I'm not merging this to 3_0_25, I want you to look at it first! Volker | ||||
* | r21269: Reformatting | Volker Lendecke | 2007-10-10 | 1 | -89/+151 |
| | |||||
* | r20541: Fix some obvious glitches in wait_for_aio_completion. Hmmm. It seems | Volker Lendecke | 2007-10-10 | 1 | -6/+5 |
| | | | | | | reply_close() at its heart is going to be an async call :-) Volker | ||||
* | r20237: Replace exit_server with exit_server_cleanly where appropriate. All | James Peach | 2007-10-10 | 1 | -3/+3 |
| | | | | | send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits. | ||||
* | r11283: Move to using sival_int from sival_ptr. Part of bug #2922. | Jeremy Allison | 2007-10-10 | 1 | -4/+10 |
| | | | | Jeremy. | ||||
* | r9985: Move the all the strict sync logic into file_sync(). | James Peach | 2007-10-10 | 1 | -3/+1 |
| | |||||
* | r8402: allow to build with --enable-aio-support. | Günther Deschner | 2007-10-10 | 1 | -3/+3 |
| | | | | Guenther | ||||
* | r7963: Add aio support to 3.0. | Jeremy Allison | 2007-10-10 | 1 | -0/+748 |
Jeremy. |