The Samba-Bugzilla – Attachment 15593 Details for
Bug 13596
Durable Handle reconnect fails in cluster on GlusterFS because stat_ex.st_ex_blocks is not consistent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for same problem with st_blksize
0001-smbd-Add-smbd-dhrc-check-blksize.patch (text/plain), 909 bytes, created by
Ralph Böhme
on 2019-10-31 14:52:41 UTC
(
hide
)
Description:
Patch for same problem with st_blksize
Filename:
MIME Type:
Creator:
Ralph Böhme
Created:
2019-10-31 14:52:41 UTC
Size:
909 bytes
patch
obsolete
>From 59f647848104f7ff43fbf706b64e2c5159feb1bc Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Thu, 9 May 2019 08:57:06 +0000 >Subject: [PATCH 1/2] smbd: Add "smbd:dhrc check blksize" > >gluster seems to be a bit imprecise with this >--- > source3/smbd/durable.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c >index de336b03a49..1d5b0093896 100644 >--- a/source3/smbd/durable.c >+++ b/source3/smbd/durable.c >@@ -464,7 +464,8 @@ static bool vfs_default_durable_reconnect_check_stat( > return false; > } > >- if (cookie_st->st_ex_blksize != fsp_st->st_ex_blksize) { >+ check = lp_parm_bool(-1, "smbd", "dhrc check blksize", true); >+ if (check && (cookie_st->st_ex_blksize != fsp_st->st_ex_blksize)) { > DEBUG(1, ("vfs_default_durable_reconnect (%s): " > "stat_ex.%s differs: " > "cookie:%llu != stat:%llu, " >-- >2.16.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 13596
:
14457
| 15593