git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5cc8b6
)
Inform level II oplock holders when we write using AIO
author
Volker Lendecke
<vl@samba.org>
Tue, 19 Feb 2008 14:53:57 +0000
(15:53 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 19 Feb 2008 15:19:49 +0000
(16:19 +0100)
Jeremy, please check!
source/smbd/aio.c
patch
|
blob
|
history
diff --git
a/source/smbd/aio.c
b/source/smbd/aio.c
index 86fdfe31b7162928bf66a6de1cb776bc86e915fa..5515582eecc10b5438c3caff56bda6958a144d73 100644
(file)
--- a/
source/smbd/aio.c
+++ b/
source/smbd/aio.c
@@
-351,6
+351,8
@@
bool schedule_aio_write_and_X(connection_struct *conn,
return False;
}
+ release_level_2_oplocks_on_change(fsp);
+
if (!write_through && !lp_syncalways(SNUM(fsp->conn))
&& fsp->aio_write_behind) {
/* Lie to the client and immediately claim we finished the