search for: fsctl_query_allocated_rang

Displaying 20 results from an estimated 20 matches for "fsctl_query_allocated_rang".

2025 Apr 04
2
Support for transferring sparse files via scp/sftp correctly?
...ke it'd work well for things with SEEK_HOLE or equivalent, although there's always the chance of the underlying file changing between mapping it out and doing the transfer. > > Since my last message, I?ve also implemented support for this in Windows, which has a DeviceIOControl called FSCTL_QUERY_ALLOCATED_RANGES that returns an array of offset and length values, within a given range in a file (also specified by offset and length). So, it?s almost a direct mapping to the extension I proposed. I basically have three different versions of a request_ranges() function (Windows, systems with SEEK_DATA/SEEK_HOL...
2025 Apr 04
1
Support for transferring sparse files via scp/sftp correctly?
...seems like it'd work well for things with SEEK_HOLE or equivalent, although there's always the chance of the underlying file changing between mapping it out and doing the transfer. Since my last message, I?ve also implemented support for this in Windows, which has a DeviceIOControl called FSCTL_QUERY_ALLOCATED_RANGES that returns an array of offset and length values, within a given range in a file (also specified by offset and length). So, it?s almost a direct mapping to the extension I proposed. I basically have three different versions of a request_ranges() function (Windows, systems with SEEK_DATA/SEEK_HOL...
2025 Mar 29
1
Support for transferring sparse files via scp/sftp correctly?
...ut SEEK_DATA/HOLE - it should be pretty to do this on > upload without these flags and without extensions. I was inspired by this thread to add sparse file support to AsyncSSH, on OSes that support SEEK_DATA and SEEK_HOLE. It looks like I should also be able to get this to work on Windows with FSCTL_QUERY_ALLOCATED_RANGES and FSCTL_SET_SPARSE, but I haven?t gotten to that yet. As Darren Tucker said, the put() operation here can be made to work with any SFTP server. However, an SFTP extension is required to support this for get() or copy(), or the case where the copy-data extension is used to copy data between fi...
2025 Apr 05
1
Support for transferring sparse files via scp/sftp correctly?
...skipping the write if it matches. OpenBSD's cp(1) does > this (look for "skipholes"): > https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/bin/cp/utils.c?annotate=HEAD > . > > This should not be done. Either a system has SEEK_DATA/SEEK_HOLE, > Win32 (Windows&ReactOS) FSCTL_QUERY_ALLOCATED_RANGES, or just copy all > bytes. If there's a protocol extension I'd like for it to be able to support other use cases, not just the one you care about. -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA Good judgement come...
2025 Mar 07
4
Support for transferring sparse files via scp/sftp correctly?
On Wed, 5 Mar 2025, Cedric Blancher wrote: > On Tue, 4 Mar 2025 at 21:22, Chris Rapier <rapier at psc.edu> wrote: > > > > > > > > On 3/4/25 05:34, Philipp Marek via openssh-unix-dev wrote: > > >> Does OpenSSH scp/sftp mode transfer sparse files correctly, i.e. are > > >> holes skipped and not transferred as chunks of 0 bytes? [1] > >
2024 Sep 17
1
[Announce] Samba 4.20.5 Available for Download
...20 release series. Changes since 4.20.4 -------------------- o? Ralph Boehme <slow at samba.org> ?? * BUG 15695: "inherit permissions = yes" triggers assert() in vfs_default ???? when creating a stream. o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Pavel Filipensk? <pfilipensky at samba.org> ?? * BUG 15698: samba-tool can not load the default configuration file. o? Stefan Metzmacher <metze at samba.org> ?? * BUG 15696: Compound SMB2 requests don't return ???? NT_STATUS_NETWORK_SESSION_EXPIRE...
2024 Sep 17
1
[Announce] Samba 4.20.5 Available for Download
...20 release series. Changes since 4.20.4 -------------------- o? Ralph Boehme <slow at samba.org> ?? * BUG 15695: "inherit permissions = yes" triggers assert() in vfs_default ???? when creating a stream. o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Pavel Filipensk? <pfilipensky at samba.org> ?? * BUG 15698: samba-tool can not load the default configuration file. o? Stefan Metzmacher <metze at samba.org> ?? * BUG 15696: Compound SMB2 requests don't return ???? NT_STATUS_NETWORK_SESSION_EXPIRE...
2024 Oct 17
0
[Announce] Samba 4.19.9 Available for Download
...t; ?? * BUG 15590: libldb: performance issue with indexes (ldb 2.8.2 is already ???? released). o? Ralph Boehme <slow at samba.org> ?? * BUG 15624: DH reconnect error handling can lead to stale sharemode entries. o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Stefan Metzmacher <metze at samba.org> ?? * BUG 15280: irpc_destructor may crash during shutdown. ?? * BUG 15624: DH reconnect error handling can lead to stale sharemode entries. ?? * BUG 15696: Compound SMB2 requests don't return ???? NT_STATUS_NETWOR...
2024 Oct 17
0
[Announce] Samba 4.19.9 Available for Download
...t; ?? * BUG 15590: libldb: performance issue with indexes (ldb 2.8.2 is already ???? released). o? Ralph Boehme <slow at samba.org> ?? * BUG 15624: DH reconnect error handling can lead to stale sharemode entries. o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Stefan Metzmacher <metze at samba.org> ?? * BUG 15280: irpc_destructor may crash during shutdown. ?? * BUG 15624: DH reconnect error handling can lead to stale sharemode entries. ?? * BUG 15696: Compound SMB2 requests don't return ???? NT_STATUS_NETWOR...
2015 Sep 08
7
[Announce] Samba 4.3.0 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2015 Sep 08
7
[Announce] Samba 4.3.0 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2015 Sep 01
0
[Announce] Samba 4.3.0rc4 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2015 Sep 01
0
[Announce] Samba 4.3.0rc4 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2015 Sep 08
0
[Announce] Samba 4.3.0 Available for Download
...t. The obtained > results are more accurate than running the test with an emulator, because > they reflect the exact kernel and system libraries that exist on the > target. > > Improved Sparse File Support > ---------------------------- > Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES > SMB2 requests has been added to the smbd file server. > This allows for clients to deallocate (hole punch) regions within a > sparse file, and check which portions of a file are allocated. > > > ###################################################################### > Change...
2015 Dec 01
0
[Announce] Samba 4.3.2 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2015 Dec 01
0
[Announce] Samba 4.3.2 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2024 Sep 02
0
[Announce] Samba 4.21.0 Available for Download
...de files????????????????????????????? Added per-user and per-group hides ? sync machine password to keytab???????? keytabs ? sync machine password script??????????? script CHANGES SINCE 4.21.0rc4 ======================= o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Noel Power <noel.power at suse.com> ?? * BUG 15702: Bad variable definition for ParseTuple causing test failure for ???? Smb3UnixTests.test_create_context_reparse. o? Shachar Sharon <ssharon at redhat.com> ?? * BUG 15686: Add new vfs_ceph module (bas...
2024 Sep 02
0
[Announce] Samba 4.21.0 Available for Download
...de files????????????????????????????? Added per-user and per-group hides ? sync machine password to keytab???????? keytabs ? sync machine password script??????????? script CHANGES SINCE 4.21.0rc4 ======================= o? David Disseldorp <ddiss at samba.org> ?? * BUG 15699: Incorrect FSCTL_QUERY_ALLOCATED_RANGES response when truncated. o? Noel Power <noel.power at suse.com> ?? * BUG 15702: Bad variable definition for ParseTuple causing test failure for ???? Smb3UnixTests.test_create_context_reparse. o? Shachar Sharon <ssharon at redhat.com> ?? * BUG 15686: Add new vfs_ceph module (bas...
2016 Feb 23
0
[Announce] Samba 4.3.5 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...
2016 Feb 23
0
[Announce] Samba 4.3.5 Available for Download
...on the target, obtaining the result. The obtained results are more accurate than running the test with an emulator, because they reflect the exact kernel and system libraries that exist on the target. Improved Sparse File Support ---------------------------- Support for the FSCTL_SET_ZERO_DATA and FSCTL_QUERY_ALLOCATED_RANGES SMB2 requests has been added to the smbd file server. This allows for clients to deallocate (hole punch) regions within a sparse file, and check which portions of a file are allocated. ###################################################################### Changes ####### smb.conf changes -----...