The Samba-Bugzilla – Attachment 6146 Details for
Bug 7815
sparse bit handling needs to be more windows-like
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0008-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch
0008-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch (text/plain), 862 bytes, created by
Björn Jacke
on 2010-12-16 17:30:31 UTC
(
hide
)
Description:
0008-s3-don-t-do-strict-allocate-with-sparse-files-minor-.patch
Filename:
MIME Type:
Creator:
Björn Jacke
Created:
2010-12-16 17:30:31 UTC
Size:
862 bytes
patch
obsolete
>From 0fb1e1fe6d4e326ba95fa506a3dbfce92083ef45 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= <bj@sernet.de> >Date: Tue, 14 Dec 2010 18:14:58 +0100 >Subject: [PATCH 8/8] s3: don't do strict allocate with sparse files **** TODO **** > >--- > source3/smbd/vfs.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c >index 3055e37..c2089df 100644 >--- a/source3/smbd/vfs.c >+++ b/source3/smbd/vfs.c >@@ -506,7 +506,7 @@ int vfs_allocate_file_space(files_struct *fsp, uint64_t len) > contend_level2_oplocks_begin(fsp, LEVEL2_CONTEND_ALLOC_GROW); > contend_level2_oplocks_end(fsp, LEVEL2_CONTEND_ALLOC_GROW); > >- if (!lp_strict_allocate(SNUM(fsp->conn))) >+ if (!lp_strict_allocate(SNUM(fsp->conn))) /* TODO: ... && SPARSE flag set */ > return 0; > > len -= fsp->fsp_name->st.st_ex_size; >-- >1.7.3.1 >
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 7815
:
6139
|
6140
|
6141
|
6142
|
6143
|
6144
|
6145
| 6146 |
6147
|
6148
|
6149
|
6150
|
6155