From patchwork Thu Nov 23 06:43:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 10072397 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C02926056E for ; Thu, 23 Nov 2017 06:43:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1D4B29ED1 for ; Thu, 23 Nov 2017 06:43:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A643529ED0; Thu, 23 Nov 2017 06:43:08 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID 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 2842329ED1 for ; Thu, 23 Nov 2017 06:43:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752696AbdKWGnE (ORCPT ); Thu, 23 Nov 2017 01:43:04 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:46418 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395AbdKWGnA (ORCPT ); Thu, 23 Nov 2017 01:43:00 -0500 Received: by mail-wr0-f195.google.com with SMTP id r2so10181800wra.13; Wed, 22 Nov 2017 22:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6+FnMLbNGQyTJDWkmg0mftn7BX4/CflVifKdXdgiBwM=; b=ReGvMQX1vV48ZqHwzIzQkS0N7LX78Vk3m5jjjLjLYyp3etMKx00RuZmQQ6SlFRN1lw oL59bN8tW/lY/znuF1U+w0Dbyh5pw8qiFMXQSl6FWVelou5FG1r5DPCo5ihvcIj6Lj4W vpvilzNqr68GSM3k53ehcOp0+mXWueqFsaqQGpOUSq7+8M3gRa8DNMmbn3AsXx6xjPLy ZR1XklXvmL11r4lu+7+pjXwEqMMZE7HtbrS7WNzZTtXCaOVvtk1UdGqRdlV4yxsf5rU5 9ekbGx6K67mN+zqeQuz7k8RAo5v+mDVMaadR72pBXAl/1l5WJX/Rtg9FaFdrGhhtKt6T 9UFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6+FnMLbNGQyTJDWkmg0mftn7BX4/CflVifKdXdgiBwM=; b=DjJGJKtKYEYgyogjLPwGLYBB9fJLUGPo18CpgNFrB+TLzmR9Ij+IrhWZd1YtrEIyU+ F8KmxowwIhzpNf7WB6/fSDml3Va0mQlAGawMDCTcMcWzk+7VWbvn1tp7WZDNvt3DXLYM VW6b5/Zdn1bBy3olLNAXhcpLqjv1v75t5n9CT6sWOr+JjrSPO6z9I13aTKajXK9d7s5m 4Axjjqmb9qNz2vMGEHF4Wzt3P3A4PT0dkTdZnvjAzFo/sDLZZ6HNrQYl5qgg78jvrq7u Ggpi42H/zGLurCEjx/sJyldM31CdxDhsXBpeH7enOiRSvxuLMYbAMlgG3BL/NzfUPujM GrGw== X-Gm-Message-State: AJaThX7viHSdtCdRQYgdwq+Q/xHGVNvSrsok4owuWrM+FLnQ3uVIxbMW zchtZbRcMkbrdUquLR2b3DI= X-Google-Smtp-Source: AGs4zMYfltzLrCMg2oMOYNpHveRmsA8Jit9qR1WaH9oUMmfv7iKqYsoqV1snaIF2j7t/LZeqq8LLeA== X-Received: by 10.223.161.158 with SMTP id u30mr10684393wru.200.1511419379125; Wed, 22 Nov 2017 22:42:59 -0800 (PST) Received: from localhost.localdomain ([94.230.86.251]) by smtp.gmail.com with ESMTPSA id z192sm2564828wmc.32.2017.11.22.22.42.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Nov 2017 22:42:58 -0800 (PST) From: Amir Goldstein To: Theodore Ts'o Cc: Eryu Guan , Josef Bacik , "Darrick J . Wong" , fstests@vger.kernel.org, linux-ext4@vger.kernel.org Subject: [PATCH 2/2] generic/456: document the fix commit Date: Thu, 23 Nov 2017 08:43:43 +0200 Message-Id: <1511419423-7905-2-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511419423-7905-1-git-send-email-amir73il@gmail.com> References: <1511419423-7905-1-git-send-email-amir73il@gmail.com> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add a link to Ted's post with more details about the bug and the fix. Signed-off-by: Amir Goldstein Reviewed-by: Theodore Ts'o --- Eryu, It may be better to include a digest of the refered post embedded in the test. For now, I just added the link to mailing list archive. Maybe Ted can add the digest later. Thanks, Amir. tests/generic/456 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/generic/456 b/tests/generic/456 index 8debd3f..ed3cacc 100755 --- a/tests/generic/456 +++ b/tests/generic/456 @@ -4,6 +4,9 @@ # This test is motivated by a bug found in ext4 during random crash # consistency tests. # +# Fixed by commit 51e3ae81ec58 ("ext4: fix interaction between i_size, +# fallocate, and delalloc after a crash") +# #----------------------------------------------------------------------- # Copyright (C) 2017 CTERA Networks. All Rights Reserved. # Author: Amir Goldstein @@ -58,6 +61,8 @@ _require_metadata_journaling $SCRATCH_DEV _init_flakey _mount_flakey +# See this post for reverse engineering of this auto generated test: +# https://marc.info/?l=linux-ext4&m=151137380830381&w=2 fsxops=$tmp.fsxops cat < $fsxops write 0x137dd 0xdc69 0x0