Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2863582pxb; Fri, 5 Nov 2021 06:04:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhfLq2g1faI24AxatP009Uz256NDQrMEVGiqQVc+zUzjFkE4ot3UVFBqCSNWXOqgaWDs6c X-Received: by 2002:a05:6e02:1a07:: with SMTP id s7mr11218356ild.290.1636117449885; Fri, 05 Nov 2021 06:04:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636117449; cv=none; d=google.com; s=arc-20160816; b=qQ8hBMrWj5E1lfBD9slch2oTGNSqcMeI0h1MlPP63L39Jxmr94j5wTmHuLw34CxfAF qvsXKpEE3qtnGQ19/ahw+6IWFFK6nPwqVOUESRUommaWocN8rs7BRWwuqk/cZNyYAfT2 zI+BmEv45vdmJjpcmUkFdqEBnNppwfjnpUBXEY1FOWAvCbv+OFxl0sM4Tq1YcJPxeFQV MTE5PRmd71ShDnhWhlQYLed8aYQtrWDJLeyVGizqNioBNS8HqPZ8LOMnqXktzeST4SMw P7eP2e9TUajjRxL0cvpFDOaP+Dwi+Vn8qaackPmjpLM+YF395vvrix0hLYiRCNJ0K5fq NORA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=14covRk9VIqYx+iigWd5Oy3gFSROrP7x153m363/8ps=; b=Jaf5xgyhvFneIlqFoFlLqvHJdvip3cABTeSBiojCddq41MjY0ZtPV65IlAIImCJKdh IiokpEIvp+OxckVTU+NeTPWmqF8hzAtNcHTfK+mxXTNvb9N/jzWanK2EPVhGpKjGx82/ VxttnUbnYT1CUGmf93Dd2gas65MpXNBkIsvCENBkAyUFG/qN7y1KPf49jpvgi5ME2nI+ vnp/jufWMfD1Al713tfuHbTpo7Sm/ktzHMTNILIyr/xCw2u2qb8WeVvEJI6GTyeuFyFa h18AYiPZf8u1fiYYVEFYlrRpP/7IWQqVAAjZBxOslSUbSO75hAjF1982dYzBXLq6Ehcj R9oA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Sd92rfbw; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g9si16887982iow.41.2021.11.05.06.03.36; Fri, 05 Nov 2021 06:04:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Sd92rfbw; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232329AbhKENFT (ORCPT + 99 others); Fri, 5 Nov 2021 09:05:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232258AbhKENFS (ORCPT ); Fri, 5 Nov 2021 09:05:18 -0400 Received: from mail-il1-x12f.google.com (mail-il1-x12f.google.com [IPv6:2607:f8b0:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FC9FC061714 for ; Fri, 5 Nov 2021 06:02:39 -0700 (PDT) Received: by mail-il1-x12f.google.com with SMTP id w15so9395849ill.2 for ; Fri, 05 Nov 2021 06:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=14covRk9VIqYx+iigWd5Oy3gFSROrP7x153m363/8ps=; b=Sd92rfbwRkHR8aJHxXi8loHqRp4nbuHCTpo/jn9VFJjgQC8w8GWZYDg2LE0o5qc+Md k2wpeFSyYQXso7jRgO1iL/PjGpsWI6bSICznUfCXyImXXxyFotMzs0f6MuAAiXqBjiDU hAo3vUet1HJqPIMIpahXOTNFZhSYA/Mcup80X5aA9eCVrfVvKIK6+hYPYPM+WtrKRcMT QcEb4qcI9bfnVr5bAdXrj6iRLc/PBd4KGH1zAtDIAj5emkKjubJwHdiWsOCyA8vBx+AO CWQ8/PG+2xxAIPrX14qY88mltIZijg/NMwB+vsfsEYuPw2PkHQu0YdrMpDTPRHFwGOHM RUtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=14covRk9VIqYx+iigWd5Oy3gFSROrP7x153m363/8ps=; b=tnmUWZ/rlu/hwDDvkTK1zBJgUSMWJ9hzfEGpxr8YZe2ywFZcZw9xed1wcLDiQJOvCr AdmdyH9xib1k4E9AGPBmra3UhE9D8c8rK94lrKsIQuXqG84Pdrf1Rn5p85iaSsCE8EKR zLhY2J6HecwnRjNAZDY4H8CRRvs8tStX3jCqDsATv27VGImWC70dP10hetZBgymDH8Oc U9kqKp4bRicd2w9dvsMEgM4atWGWVWbJ5SWWtTWoocS6BnXULntJbXerqy5rB8myQfKu LgQ3FrRJvcdk+BXjq5woH0xXjYjTUenf6WVCf9ETu+5m/VmjGtc7udLObxCFz21ZoiPp RSKQ== X-Gm-Message-State: AOAM532nvxUMJcYmSKBM4GKfT0Iw0S3Bz2c+HIAOCDmjCHdubJ3jjYoQ PwkFxrXbDLq3Z/7vNYN4ob4GcGhHxwTh2UtP9ytifp4k X-Received: by 2002:a92:d643:: with SMTP id x3mr39918549ilp.107.1636117357737; Fri, 05 Nov 2021 06:02:37 -0700 (PDT) MIME-Version: 1.0 References: <20211029211732.386127-1-krisman@collabora.com> In-Reply-To: From: Amir Goldstein Date: Fri, 5 Nov 2021 15:02:26 +0200 Message-ID: Subject: Re: [LTP] [PATCH v3 0/9] Test the new fanotify FAN_FS_ERROR event To: Petr Vorel Cc: Gabriel Krisman Bertazi , Jan Kara , Matthew Bobrowski , Ext4 , kernel@collabora.com, Khazhismel Kumykov , LTP List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Nov 5, 2021 at 12:10 PM Petr Vorel wrote: > > Hi Gabriel, all, > > > Hi, > > > Now that FAN_FS_ERROR is close to being merged, I'm sending a new > > version of the LTP tests. This is the v3 of this patchset, and it > > applies the feedback of the previous version, in particular, it solves > > the issue Amir pointed out, that ltp won't gracefully handle a test with > > tcnt==0. To solve that, I merged the patch that set up the environment > > with a simple test, that only triggers a fs abort and watches the > > event. > > > I'm also renaming the testcase from fanotify20 to fanotify21, to leave > > room for the pidfs test that is also in the baking by Matthew Bobrowski. > > > One important detail is that, for the tests to succeed, there is a > > dependency on an ext4 fix I sent a few days ago: > > > https://lore.kernel.org/linux-ext4/20211026173302.84000-1-krisman@collabora.com/T/#u > It has been merged into Theodore Ts'o ext4 tree into dev branch as c1e2e0350ce3 > ("ext4: Fix error code saved on super block during file system abort") > > We should probably add it as .tags (see fanotify06.c). No point in doing that. There will be no kernel release which meets the test requirements and has this bug. Thanks, Amir.