The Samba-Bugzilla – Attachment 4766 Details for
Bug 6772
outstanding_aio_calls never decremented
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
0001-allow-for-outstanding_aio_calls-to-be-decremented.patch (text/plain), 1.15 KB, created by
Olaf Flebbe
on 2009-09-30 07:59:05 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Olaf Flebbe
Created:
2009-09-30 07:59:05 UTC
Size:
1.15 KB
patch
obsolete
>From 61d86bdfddf6bb37e9b0c8197cad7f41302e86e3 Mon Sep 17 00:00:00 2001 >From: Olaf Flebbe <o.flebbe@science-computing.de> >Date: Wed, 30 Sep 2009 14:55:58 +0200 >Subject: [PATCH] allow for outstanding_aio_calls to be decremented > >--- > source3/smbd/aio.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c >index fbfec46..158c219 100644 >--- a/source3/smbd/aio.c >+++ b/source3/smbd/aio.c >@@ -282,6 +282,7 @@ bool schedule_aio_write_and_X(connection_struct *conn, > TALLOC_FREE(aio_ex); > return False; > } >+ outstanding_aio_calls++; > > aio_ex->req = talloc_move(aio_ex, &req); > >@@ -307,7 +308,6 @@ bool schedule_aio_write_and_X(connection_struct *conn, > } else { > srv_defer_sign_response(aio_ex->req->mid); > } >- outstanding_aio_calls++; > > DEBUG(10,("schedule_aio_write_and_X: scheduled aio_write for file " > "%s, offset %.0f, len = %u (mid = %u) " >@@ -524,6 +524,7 @@ void smbd_aio_complete_mid(unsigned int mid) > int ret = 0; > > DEBUG(10,("smbd_aio_complete_mid: mid[%u]\n", mid)); >+ outstanding_aio_calls--; > > if (!aio_ex) { > DEBUG(3,("smbd_aio_complete_mid: Can't find record to " >-- >1.6.0.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6772
:
4766
|
4769
|
4783