diff options
author | Jeremy Allison <jra@samba.org> | 2005-06-27 22:53:56 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-06-27 22:53:56 +0000 |
commit | cc59dd72a6f06ce58d2ab455277cf76d3b084776 (patch) | |
tree | af5d1b5b4d854bdbdedbdbebe0489889be76ef6b /source/smbd/reply.c | |
parent | ae5191db2af44e280d8f3f2171c644812b057e65 (diff) | |
download | samba-cc59dd72a6f06ce58d2ab455277cf76d3b084776.tar.gz samba-cc59dd72a6f06ce58d2ab455277cf76d3b084776.tar.xz samba-cc59dd72a6f06ce58d2ab455277cf76d3b084776.zip |
r7963: Add aio support to 3.0.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 9a7c22320c9..312a3ace23c 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -2575,13 +2575,10 @@ int reply_read_and_X(connection_struct *conn, char *inbuf,char *outbuf,int lengt return ERROR_DOS(ERRDOS,ERRlock); } -#if 0 - /* Enable when the AIO code is moved over. JRA. */ if (schedule_aio_read_and_X(conn, inbuf, outbuf, length, bufsize, fsp, startpos, smb_maxcnt)) { END_PROFILE(SMBreadX); return -1; } -#endif nread = send_file_readX(conn, inbuf, outbuf, length, bufsize, fsp, startpos, smb_maxcnt); if (nread != -1) @@ -2952,15 +2949,11 @@ int reply_write_and_X(connection_struct *conn, char *inbuf,char *outbuf,int leng nwritten = 0; } else { -#if 0 - /* Enable when AIO code is moved over. JRA. */ - if (schedule_aio_write_and_X(conn, inbuf, outbuf, length, bufsize, fsp,data,startpos,numtowrite)) { END_PROFILE(SMBwriteX); return -1; } -#endif nwritten = write_file(fsp,data,startpos,numtowrite); } |