Bug 700017

Summary: scsi_debug: xfstests 013 fails when running on ext4 over emulated DIF scsi disk
Product: Red Hat Enterprise Linux 6 Reporter: Jian Li <jiali>
Component: kernelAssignee: fs-maint
Status: CLOSED NOTABUG QA Contact: Jian Li <jiali>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: esandeen, kzhang, lczerner, nmurray, rwheeler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 17:15:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
log of xfstests 013 none

Description Jian Li 2011-04-27 09:47:38 UTC
Created attachment 495159 [details]
log of xfstests 013

Description of problem:
This bug appear when test DIF scsi disk with scsi_debug. xfstests is used, and test 013 fails for 

Version-Release number of selected component (if applicable):
RHEL 6.1
# uname -a
Linux dell-pe2950-1.rhts.eng.rdu.redhat.com 2.6.32-131.0.5.el6.i686 #1 SMP Wed
Apr 20 00:21:07 EDT 2011 i686 i686 i386 GNU/Linux

How reproducible:
Steps to Reproduce:
modprobe scsi_debug dif=1 guard=1 dev_size_mb=64 num_parts=1 ato=1 dix=31 delay=30
yum -y install libblkid-devel
yum -y install e2fsprogs-devel libacl-devel
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev
cd xfsprogs-dev ; make ; make install-qa; cd ..
git clone git://oss.sgi.com/xfs/cmds/xfstests
cd xfstests; make
fdisk /dev/sdc
mkfd.ext4 /dev/sdc1
mkdir -p /mnt/testarea/ext4
export TEST_DEV=/dev/sdc1
export TEST_DIR=/mnt/testarea/ext4
./check

Actual results:
013	 [failed, exit status 1] - output mismatch (see 013.out.bad)


Expected results:


Additional info:

Comment 2 RHEL Program Management 2011-04-28 06:01:54 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 3 RHEL Program Management 2011-10-07 15:32:50 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2012-05-03 05:29:08 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 Lukáš Czerner 2013-10-17 17:15:24 UTC
This is not a bug. The problem is in the actual test setup because the disk size (64MB) is too small and we'll end up with ENOSPC. When the disk size is increased the test pass without any problem on recent RHEL6 kernel.

Thanks!
-Lukas