[Top] [All Lists]

Test 272 fails for ext3

To: xfs@xxxxxxxxxxx
Subject: Test 272 fails for ext3
From: Jan Kara <jack@xxxxxxx>
Date: Thu, 16 Aug 2012 11:37:57 +0200
Cc: dmonakhov@xxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx
In-reply-to: <20120816092808.GA9057@xxxxxxxxxxxxx>
References: <20120816092808.GA9057@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)

  I was looking into why test 272 from xfstests fails for ext3 and the
reason is that ext3 does not support direct IO to file with enabled data
journalling (open returns EINVAL because ->direct_IO callback is not
specified). So I was thinking how to accomodate this fact in the test -
the best I found was to just check using xfs_io whether O_DIRECT open
succeeds and perform the test only in that case. Attached patch does this
or do people have other ideas?


PS: Sending again with correct list address. I'm sorry for unnecessary email.
Jan Kara <jack@xxxxxxx>

Attachment: 0001-Make-test-272-work-for-ext3.patch
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>