From 152beea2daeb24165379489708849efab9d7b360 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Tue, 20 Nov 2012 14:24:13 +0100 Subject: [PATCH] s3:smbd/aio do not mark file modified during reads this causes each file that is potentially just opened for reading to be marked as modified and lots of file change notifications will be send Signed-off-by: Christian Ambach Reviewed-by: Volker Lendecke Autobuild-User(master): Christian Ambach Autobuild-Date(master): Tue Nov 20 21:02:34 CET 2012 on sn-devel-104 (cherry picked from commit d6983f470410b0befc02e43580d9b9d74d8f5d23) --- source3/smbd/aio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source3/smbd/aio.c b/source3/smbd/aio.c index 3b12879..3f553eb 100644 --- a/source3/smbd/aio.c +++ b/source3/smbd/aio.c @@ -791,8 +791,6 @@ static void aio_pread_smb2_done(struct tevent_req *req) /* Unlock now we're done. */ SMB_VFS_STRICT_UNLOCK(fsp->conn, fsp, &aio_ex->lock); - mark_file_modified(fsp); - /* Common error or success code processing for async or sync read returns. */ -- 1.7.10.4