public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v1 1/1] test_robind: add "-f" mkfs option for xfs and btrfs
Date: Tue, 21 Jun 2016 13:51:07 +0300	[thread overview]
Message-ID: <57691C1B.7040309@oracle.com> (raw)
In-Reply-To: <20160617042825.GJ5140@eguan.usersys.redhat.com>

Hi

On 06/17/2016 07:28 AM, Eryu Guan wrote:
> Hi,
>
> On Wed, May 25, 2016 at 10:05:41AM +0300, Stanislav Kholmanskikh wrote:
>>
>>
>> On 05/25/2016 09:31 AM, Jan Stancek wrote:
>>>
>>>
>>>
>>>
>>> ----- Original Message -----
>>>> From: "Cyril Hrubis" <chrubis@suse.cz>
>>>> To: "Jan Stancek" <jstancek@redhat.com>
>>>> Cc: "Boyang Xue" <bxue@redhat.com>, "stanislav kholmanskikh" <stanislav.kholmanskikh@oracle.com>, ltp@lists.linux.it
>>>> Sent: Tuesday, 24 May, 2016 5:26:22 PM
>>>> Subject: Re: [LTP] [PATCH v1 1/1] test_robind: add "-f" mkfs option for xfs and	btrfs
>>>>
>>>> Hi!
>>>>> Alternative would be to zero-erase first blocks of LTP_BIG_DEV
>>>>> in runltp, but I'm not sure we want to assume that all tests
>>>>> are going to write over it.
>>>>>
>>>>> I found only 3 tests using LTP_BIG_DEV, this is the only
>>>>> one that is using xfs/btrfs, the other two are ext3/4.
>>>>
>>>> Or we can move the dd that erases first blocks from tst_acquire_device()
>>>> to tst_mkfs().
>>>
>>> I went to re-read why we are avoiding -f, and this does sound better
>>> than adding -f back.
>>
>> If we move 'dd' to tst_mkfs(), then tst_acquire_device will return
>> "uncleared" devices, and mkfs_ext* test cases from runtest/commands will
>> start failing in our environment, i.e. we revert f79021c5d168256.
>>
>> I'd ack the patch, since it affects only one test case.
>
> Any decision made on this patch?
>
> I agreed with acking this patch, it's a targeted fix and only only
> affects robind tests and is the easiest way to fix the failure at this
> moment :)

Sorry for my late response.

I pushed the patch.

>
> Thanks,
> Eryu
>

  reply	other threads:[~2016-06-21 10:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24  7:49 [LTP] [PATCH v1 1/1] test_robind: add "-f" mkfs option for xfs and btrfs Boyang Xue
2016-05-24 14:01 ` Jan Stancek
2016-05-24 15:26   ` Cyril Hrubis
2016-05-25  6:31     ` Jan Stancek
2016-05-25  7:05       ` Stanislav Kholmanskikh
2016-05-25 14:10         ` Cyril Hrubis
2016-06-17  4:28         ` Eryu Guan
2016-06-21 10:51           ` Stanislav Kholmanskikh [this message]
2016-06-21 10:59             ` Eryu Guan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57691C1B.7040309@oracle.com \
    --to=stanislav.kholmanskikh@oracle.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox