summaryrefslogtreecommitdiff
path: root/source3/smbd/aio.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22411: Fix the build:Michael Adam1-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 (This used to be commit 9de1af6dc835fa12a75bae00935cd605f61217a3)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-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. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
2007-10-10r22389: Start preparing for multiple encryption contexts in theJeremy Allison1-3/+13
server. Allow server to reflect back to calling client the encryption context that was sent. Jeremy. (This used to be commit b49e90335d1e589916b5ab4992e3c4a2d221ca7e)
2007-10-10r21279: Get rid of 'aio write behind', this is broken.Volker Lendecke1-155/+1
It should probably better be integrated with our write cache. Volker (This used to be commit 58bfd168b046a97a895aaa3384fd7af8d077a1d5)
2007-10-10r21278: The main goal of this was to get rid of the NetInBuffer / ↵Volker Lendecke1-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 (This used to be commit 452d51bc6fd41771b9c41ba6391664513d7cf2cd)
2007-10-10r21277: Fix an off by one error in the signal handler for aio: We can ↵Volker Lendecke1-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 (This used to be commit 8fd0ec58360a349826508fc361a943650fdd6694)
2007-10-10r21269: ReformattingVolker Lendecke1-89/+151
(This used to be commit b2eaa733c52113f53b6ff8aea9fce20ede1e3b1f)
2007-10-10r20541: Fix some obvious glitches in wait_for_aio_completion. Hmmm. It seemsVolker Lendecke1-6/+5
reply_close() at its heart is going to be an async call :-) Volker (This used to be commit 36f60407ae9b430dc5d7f67dd3e7ed8b1dbc93a8)
2007-10-10r20237: Replace exit_server with exit_server_cleanly where appropriate. AllJames Peach1-3/+3
send_smb failures should be clean exits. All times when we exit as a matter of policy should also be clean exits. (This used to be commit d6382092e72120a3c89ffe81975e8898d454bf06)
2007-10-10r11283: Move to using sival_int from sival_ptr. Part of bug #2922.Jeremy Allison1-4/+10
Jeremy. (This used to be commit f68ff32630ee3b06b69bac59674ecc1496880a47)
2007-10-10r9985: Move the all the strict sync logic into file_sync().James Peach1-3/+1
(This used to be commit cc680bbe22b8bfc5a1900f11c2cbaeca3a9f9922)
2007-10-10r8402: allow to build with --enable-aio-support.Günther Deschner1-3/+3
Guenther (This used to be commit 49351d91c59b2e96ebddb2d721e660dcd90ec815)
2007-10-10r7963: Add aio support to 3.0.Jeremy Allison1-0/+748
Jeremy. (This used to be commit 1de27da47051af08790317f5b48b02719d6b9934)