The Samba-Bugzilla – Attachment 543 Details for
Bug 1463
poor performance with large block size
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Suggested patch from Craig Barratt
window.patch (text/plain), 477 bytes, created by
Wayne Davison
on 2004-06-18 14:45:38 UTC
(
hide
)
Description:
Suggested patch from Craig Barratt
Filename:
MIME Type:
Creator:
Wayne Davison
Created:
2004-06-18 14:45:38 UTC
Size:
477 bytes
patch
obsolete
>--- fileio.c Sun Jan 4 19:57:15 2004 >+++ fileio.c Thu Jun 17 19:33:26 2004 >@@ -193,8 +193,8 @@ > if (window_start + window_size > map->file_size) { > window_size = map->file_size - window_start; > } >- if (offset + len > window_start + window_size) { >- window_size = (offset+len) - window_start; >+ if (offset + 16 * len > window_start + window_size) { >+ window_size = (offset + 16 * len) - window_start; > } > > /* make sure we have allocated enough memory for the window */
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 1463
:
543
|
573