The Samba-Bugzilla – Attachment 8215 Details for
Bug 9411
aio read marks the file as modified.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.0.0rc.next.
0001-s3-smbd-aio-do-not-mark-file-modified-during-reads.patch (text/plain), 1.12 KB, created by
Jeremy Allison
on 2012-11-21 04:30:14 UTC
(
hide
)
Description:
git-am fix for 4.0.0rc.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2012-11-21 04:30:14 UTC
Size:
1.12 KB
patch
obsolete
>From 152beea2daeb24165379489708849efab9d7b360 Mon Sep 17 00:00:00 2001 >From: Christian Ambach <ambi@samba.org> >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 <ambi@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> > >Autobuild-User(master): Christian Ambach <ambi@samba.org> >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 >
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
Flags:
ambi
:
review+
vl
:
review+
Actions:
View
Attachments on
bug 9411
: 8215