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: 840683 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-ext4-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ReGvMQX1"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yj8sR73Z1z9t2S for ; Thu, 23 Nov 2017 17:43:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752698AbdKWGnE (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: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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