From patchwork Thu Nov 23 06:43:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 840682 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="ALKxiTIT"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yj8sR0vq0z9t1t for ; Thu, 23 Nov 2017 17:43:07 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752715AbdKWGnF (ORCPT ); Thu, 23 Nov 2017 01:43:05 -0500 Received: from mail-wr0-f194.google.com ([209.85.128.194]:43730 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752492AbdKWGm7 (ORCPT ); Thu, 23 Nov 2017 01:42:59 -0500 Received: by mail-wr0-f194.google.com with SMTP id u40so16621802wrf.10; Wed, 22 Nov 2017 22:42:58 -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; bh=Th/sfdNOZaFy3hyppsDu3FsfNq4H5Onhf/lyzVk/iEE=; b=ALKxiTITgqcE9Zvyxa4Jl5hpaRA9RSZCRqxgZioNGOw/mVXsX4Seg+yGBtd6JeByLm TG7I6DV39G6vUaypiQweHonCm/seTT/BAGLIbvFMe5ouXImDxcNJ+ReaxcitSwLfLzwB NvmTL5dRr0hX6XCe9eEmRn2IKTFszUFep/nOMBsRgJp1R5zF9m3XksORUX6IFilvju0c /QWaFjyy7PYLWHlsC00zrIIEgUB/P9KPAx87fd6HLhczmcJiiM6HipciJeRaAO21mFQr aOGFNDfAGLSn7H2ml35okJadl8Sur8ijonUBzUtvNLGTZhrinKEqPIQPRZSFecwKM16M VGPQ== 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; bh=Th/sfdNOZaFy3hyppsDu3FsfNq4H5Onhf/lyzVk/iEE=; b=T1vvfTkxac6GTedGnT4UPDu9tMUTl41Gmjfv+G7i3mGrKWNK2A4x7xB/GSa1nkaGjr ZiAFtZWHANTrFgcZ4WV4HvA6j/BP4sLa6EvOes1tHaaZntpDPJgR+B/1Dkg8VGEPGDuc isp0ulFXJeaasQ33kaLjDUKuaLlaciAUG1sFmSdjt32zQcCOYW9aaexy5Yrx2WnZPqeA k0YrwdCAZYVEDqh1ALuqJ/UnSzDPFMo2ulKDmBRl9OhyoWb3Oae5EdXOwc3rBAwakaQP XbEClOjsmyC0lEpY18Y/kwua4XqVQdriezRsza/6nH3tqoIRddA0nnSkMqDsdsn+bHQP em/w== X-Gm-Message-State: AJaThX5nFx3vx9zn3ScBMPnr++pnMwAXSfZ8I7lY9QtUDuYvP34gwsiG wNsh5wy6S2sPXzGjTPXFhXk= X-Google-Smtp-Source: AGs4zMYtOYsx8U9Wt9mcwl9etKQbRuiUtk7yGMzS3TZ43edyfUvtY8suyUg6nuA8aYkewQyDXcgPdA== X-Received: by 10.223.133.68 with SMTP id 62mr12266652wrh.243.1511419377731; Wed, 22 Nov 2017 22:42:57 -0800 (PST) Received: from localhost.localdomain ([94.230.86.251]) by smtp.gmail.com with ESMTPSA id z192sm2564828wmc.32.2017.11.22.22.42.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Nov 2017 22:42:57 -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 1/2] generic/458: document the fix commit Date: Thu, 23 Nov 2017 08:43:42 +0200 Message-Id: <1511419423-7905-1-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Signed-off-by: Amir Goldstein Reviewed-by: Darrick J. Wong --- tests/generic/458 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/generic/458 b/tests/generic/458 index 7b408cb..730561f 100755 --- a/tests/generic/458 +++ b/tests/generic/458 @@ -4,6 +4,9 @@ # Regression test for xfs leftover CoW extents after truncate # and umount # +# Fixed by commit 3af423b03435 ("xfs: evict CoW fork extents when performing +# finsert/fcollapse") +# #----------------------------------------------------------------------- # Copyright (C) 2017 CTERA Networks. All Rights Reserved. # Author: Amir Goldstein 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