Skip to content

Commit 2ba557d

Browse files
smbtorture: Add Shadow Copy related tests
- Some of the sparse file related tests are expected to fail due to limitations in CephFS, mark the same - Make sure that ioctl tests are expected to strictly pass against CephFS and CephFS.vfs only. Signed-off-by: Shwetha K Acharya <[email protected]>
1 parent 5426d82 commit 2ba557d

File tree

5 files changed

+20
-0
lines changed

5 files changed

+20
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CephFS does not explicitly track which parts of a file are allocated/written with sparse files,
2+
# the st_blocks field is always populated by the file size divided by the block size.
3+
# This will cause tools like du(1) to overestimate consumed space.
4+
# (The recursive size field, maintained by CephFS, also includes file “holes” in its count.)
5+
6+
# Refer: https://github.com/samba-in-kubernetes/sit-test-cases/issues/86
7+
^samba3.smb2.ioctl.sparse_punch
8+
^samba3.smb2.ioctl.sparse_qar_ob1
9+
^samba3.smb2.ioctl.sparse_punch_invalid
10+
^samba3.smb2.ioctl.copy-chunk streams

testcases/smbtorture/selftest/flapping.glusterfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010

1111
#https://github.com/gluster/samba-integration/issues/241
1212
^samba3.smb2.deny.*
13+
14+
# Checking this feature against cephFS only
15+
^samba3.smb2.ioctl

testcases/smbtorture/selftest/flapping.gpfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@
55
# Ignore due to lack of proper multichannel setup.
66
^samba3.smb2.session.bind2
77
^samba3.smb2.session.two_logoff
8+
9+
# Checking this feature against cephFS only
10+
^samba3.smb2.ioctl

testcases/smbtorture/selftest/flapping.xfs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88

99
# https://github.com/samba-in-kubernetes/sit-environment/pull/109
1010
samba3.smb2.session.reauth4
11+
12+
# Checking this feature against cephFS only
13+
^samba3.smb2.ioctl

testcases/smbtorture/smbtorture-tests-info.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@
3131
- smb2.bench
3232
- smb2.winattr2
3333
- smb2.charset
34+
- smb2.ioctl

0 commit comments

Comments
 (0)