From patchwork Thu Feb 28 14:41:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Foster X-Patchwork-Id: 10833221 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F0F8215AC for ; Thu, 28 Feb 2019 14:41:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E27E12F121 for ; Thu, 28 Feb 2019 14:41:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6D412F1F0; Thu, 28 Feb 2019 14:41:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7BC242F121 for ; Thu, 28 Feb 2019 14:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730811AbfB1Ola (ORCPT ); Thu, 28 Feb 2019 09:41:30 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46050 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727854AbfB1Ol3 (ORCPT ); Thu, 28 Feb 2019 09:41:29 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AE7AED819B; Thu, 28 Feb 2019 14:41:29 +0000 (UTC) Received: from bfoster.bos.redhat.com (dhcp-41-66.bos.redhat.com [10.18.41.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1F30418A77; Thu, 28 Feb 2019 14:41:29 +0000 (UTC) From: Brian Foster To: fstests@vger.kernel.org Cc: Josef Bacik , Amir Goldstein Subject: [PATCH 0/2] fstests: prevent dm-log-writes out of order replay issues Date: Thu, 28 Feb 2019 09:41:26 -0500 Message-Id: <20190228144128.55583-1-bfoster@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Thu, 28 Feb 2019 14:41:29 +0000 (UTC) Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Here's a stab at addressing the out-of-order write issues reproduced by generic/482 on XFS v5 filesystems. Patch 1 refactors the code to allow for use of an arbitrary device and patch 2 fixes up generic/482 to use a thinly provisioned replay device. This could be factored in different ways and/or be implemented across the other tests, but the focus here is on generic/482. Brian Brian Foster (2): common/dmlogwrites: genericize log writes target device generic/482: use thin volume as data device common/dmlogwrites | 24 ++++++++++++++++++------ tests/generic/455 | 8 ++++---- tests/generic/457 | 8 ++++---- tests/generic/470 | 4 ++-- tests/generic/482 | 20 ++++++++++++++------ 5 files changed, 42 insertions(+), 22 deletions(-)