From e12cd305dd9d383058d5bdfa805078735c8018e3 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 19 Feb 2008 15:53:57 +0100 Subject: Inform level II oplock holders when we write using AIO Jeremy, please check! (This used to be commit 81d823e026fb332a88b6e1f15030fe49719f2522) --- source3/smbd/aio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index 86fdfe31b7..5515582eec 100644 --- a/source3/smbd/aio.c +++ b/source3/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 -- cgit