samba3.smb2.ioctl
Andrew Bartlett
abartlet at samba.org
Fri Mar 20 12:09:14 MDT 2015
On Fri, 2015-03-20 at 11:43 +0100, David Disseldorp wrote:
> Hi Andrew,
>
> I've raised https://bugzilla.samba.org/show_bug.cgi?id=11176 to track
> this.
Thanks!
> On Fri, 20 Mar 2015 18:22:35 +1300, Andrew Bartlett wrote:
>
> > Can someone help explain to me what this test failure means? I get it
> > in the Catalyst Cloud when running make test on git master, building on
> > Ubuntu 12.04. We only see it there, and not on 14.04. We are backed by
> > Ceph RBD volumes, if that helps.
>
> Which filesystem are you using, and on which architecture?
It is x86-64, and I assume is is ext4.
> > Thanks,
> >
> > Andrew Bartlett
> >
> > [1(0)/3 at 0s] samba3.smb2.ioctl fs_specific(nt4_dc)
> > UNEXPECTED(failure): samba3.smb2.ioctl fs_specific.sparse_punch(nt4_dc)
> > REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:3308:
> > far_count was 1 (0x1), expected 0 (0x0): unexpected response len
>
> samba3.smb2.ioctl.sparse_punch creates a 4K file, and then hole-punches
> the full range via FSCTL_SET_ZERO_DATA / FALLOC_FL_PUNCH_HOLE. This
> failure indicates that data is still present (via SEEK_DATA) after the
> hole-punch.
>
> > UNEXPECTED(failure): samba3.smb2.ioctl
> > fs_specific.sparse_qar_ob1(nt4_dc)
> > REASON: Exception: Exception: ../source4/torture/smb2/ioctl.c:4477:
> > far_rsp[0].len was 65537 (0x10001), expected 65536 (0x10000): unexpected
> > far len
>
> samba3.smb2.ioctl.sparse_qar_ob1 creates a 128K file, and then
> hole-punches the latter 64K. This failure indicates that data is still
> present after the hole punch.
>
> These tests are currently quite FS specific. I'll address this by having
> them check for deallocation-on-hole-punch behaviour and skipping if not
> present.
Thanks!
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list