The Samba-Bugzilla – Attachment 5999 Details for
Bug 7715
Setting Samba Write Cache Size Can Cause File Corruption
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git am patch from Volker for 3.5.next.
0001-s3-Stop-using-the-write-cache-after-an-oplock-break.patch (text/plain), 685 bytes, created by
Jeremy Allison
on 2010-10-06 15:18:19 UTC
(
hide
)
Description:
git am patch from Volker for 3.5.next.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2010-10-06 15:18:19 UTC
Size:
685 bytes
patch
obsolete
>From adba466498a1dc6e0cda158f98b501bba7b6736b Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Sat, 2 Oct 2010 17:07:00 +0200 >Subject: [PATCH] s3: Stop using the write cache after an oplock break > >--- > source3/smbd/oplock.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c >index cdb6093..ff5f6ad 100644 >--- a/source3/smbd/oplock.c >+++ b/source3/smbd/oplock.c >@@ -118,6 +118,7 @@ void release_file_oplock(files_struct *fsp) > fsp->sent_oplock_break = NO_BREAK_SENT; > > flush_write_cache(fsp, OPLOCK_RELEASE_FLUSH); >+ delete_write_cache(fsp); > > TALLOC_FREE(fsp->oplock_timeout); > } >-- >1.7.0.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
Actions:
View
Attachments on
bug 7715
: 5999