Bug in Samba's implementation of FSCTL_QUERY_ALLOCATED_RANGES?

David Disseldorp ddiss at samba.org
Thu May 23 04:54:20 UTC 2024


On Wed, 22 May 2024 11:36:25 +0100, David Howells wrote:

> David Disseldorp <ddiss at samba.org> wrote:
> > ...
> > I think the best way to proceed here would be to capture traffic for the
> > same workload against a Windows SMB server. This could be don't by using
> > your cifs.ko workload or extending test_ioctl_sparse_qar_malformed().  
> 
> I don't have a windows server I can try.  Steve may be able to try that.

I'll put it on my todo list for the next time I have a Windows VM
sitting around. I do recall testing Samba alongside Windows when doing
the initial implementation, but QAR is very FS block / allocation size
specific, so 1:1 behaviour isn't straightforward (nor is it required by
the FSCTL_QUERY_ALLOCATED_RANGES / FSCTL_SET_ZERO_DATA specs).

Cheers, David



More information about the samba-technical mailing list