Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4952713pxv; Tue, 29 Jun 2021 21:20:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwV+1xAzt9NiSlFFmTSq2fVHlvWTlga7TbAyNUmsn2i7AT9I27kue65SDNTgFVzvAPohZc X-Received: by 2002:a05:6402:53:: with SMTP id f19mr44723435edu.200.1625026856761; Tue, 29 Jun 2021 21:20:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625026856; cv=none; d=google.com; s=arc-20160816; b=nP2X7VV1/gp+GEseiFCAo9TaC0rQO94JwXeMFNvQ+63lo8RznWda68CEKYTaVsJZi5 rK36Y/ae7iR/qYgqh8rWP0l2H9rvMHHu/V3d2JXBDMWCAc8jM+AzpBniDu0i1hIPicy3 vlJ9I7U/vl84eY1AJV0Qa7PqCcH6y9cAnYIieppZogXYKCgHsjdHn14ELcR76K6A1QY5 1EvLUJmNElTimFZXfSW5RR5vPFITsu8MkgH8m/pVxYNncZ6vcfO1CAcY4qFFy/zVQJdI Gd7KXB/weS2G4i3LyaAn5xAvUtU7hc+B6mGVMPiNCbJjvrxJH/tvu3ahxsBoGOTHEqOV BeoA== 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=rx8A797G1YBpPMe7byH4D0TVQJIokYuVRNbWX9cvnco=; b=Qc5XTbDkJIskJ/5RgCYPOtdlfg/DKKlur9MvFopym3OeXla7Ptxk6hi5sYDflhcdrA TO3UpZjevzfKe1mojMYpiJ7Zm9Va1LPH7hjvvojTCwtwYAXigYSmJ6BN2zJ2OSOqjJcM sLVvJZ9etqRpt1wFe5nOuHrC+gxQrrs1zx4lQKSlgvLroTxbwO/YiQOBIeuoDH3f5Crr 6dUX5pRVVoJDtoLbtHjwluteF7558Z4rpoHsXMPWZV1+PpuyJufPEaq+QuUUtVxIk5mU eVnRLreaOFIGp6yHlS75WMCRBZIVPp11pBEY8yFQfY5KnQHArI7MMxY+ObgzoOFKzDTi c8zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z8y5OGy7; 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 nd21si12075656ejc.248.2021.06.29.21.20.29; Tue, 29 Jun 2021 21:20:56 -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=20161025 header.b=Z8y5OGy7; 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 S232790AbhF3EVo (ORCPT + 99 others); Wed, 30 Jun 2021 00:21:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230200AbhF3EVk (ORCPT ); Wed, 30 Jun 2021 00:21:40 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9019FC061760; Tue, 29 Jun 2021 21:19:11 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id i189so1532628ioa.8; Tue, 29 Jun 2021 21:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rx8A797G1YBpPMe7byH4D0TVQJIokYuVRNbWX9cvnco=; b=Z8y5OGy7Er5yazYRAliRflePcje/Er1l8rzJ7wHxJSJg6XoRi1D9KyPUr7vDiWwDil bJSZsXGPPHMAzyzVtmArvvLmbP2rC8a968DCpqLgH9H1Zh1/O1uZq3j+M//lZVZd1Hs1 MjC4WYD7ZcDVpWc5jD5qZ/anJpXgnAyit7gAISLXm/5asxDX7CNYRaZZxwd3wCWih7H0 h/dVIUBkK654QsVriKYgpp8IzVRuOUqpQlYeQnfm175qqSd1jfktR5tnDxa0z2Iy/S5D /MtlPqZdyl5L/qheW4MnNHUdmgQQTaT7EWgd+ffk2kgjNi2RhKb/ViGMfImhZEz2ajMZ tJ1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rx8A797G1YBpPMe7byH4D0TVQJIokYuVRNbWX9cvnco=; b=otRPFrZTbzbOY0BGEmLroMh+Qgs86YOIoZlBbejre1bimRZ4yEhN3qC+GDig8/pyhV YPZYto+GiNMswK/xzhy2IrFJWi3Al8fhNOlIi1W1tJUon7+MtXUlCojS662MHT1u4BWR nVKebHFs/ZJhMdeh/pPAwb2dcnOIyIC9vBgt8guunYnHC288H0dM1fqK5ZQOs/NRLniQ ecYCXzzdg7LyD2AknPWSkOuFVcCiVg+8t1cWkrECrjDO8tX13lgiF80SVxclYBaQt01L jTEU4zFDag+0E0x5ct9eMUjv6bPYUHYhJtb7/sK1/XtfyjqSba+3geU4GZPBaqPUNv/z wPEg== X-Gm-Message-State: AOAM533wDEZHcJCwB0CuaKA6pF7lnQVZx3kYzHXU54UdMHPrqpaztSC2 kzdeM8Nh5PnLO+NvtixzAUxuTdINwu4SnqHMAD8= X-Received: by 2002:a05:6602:146:: with SMTP id v6mr6472057iot.5.1625026750922; Tue, 29 Jun 2021 21:19:10 -0700 (PDT) MIME-Version: 1.0 References: <20210629191035.681913-1-krisman@collabora.com> <20210629191035.681913-16-krisman@collabora.com> In-Reply-To: <20210629191035.681913-16-krisman@collabora.com> From: Amir Goldstein Date: Wed, 30 Jun 2021 07:18:59 +0300 Message-ID: Subject: Re: [PATCH v3 15/15] docs: Document the FAN_FS_ERROR event To: Gabriel Krisman Bertazi Cc: "Darrick J. Wong" , Theodore Tso , Dave Chinner , Jan Kara , David Howells , Khazhismel Kumykov , linux-fsdevel , Ext4 , kernel@collabora.com, Matthew Bobrowski Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Jun 29, 2021 at 10:13 PM Gabriel Krisman Bertazi wrote: > > Document the FAN_FS_ERROR event for user administrators and user space > developers. > > Signed-off-by: Gabriel Krisman Bertazi > > --- > Changes since v1: > - Drop references to location record > - Explain that the inode field is optional > - Explain we are reporting only the first error > --- > .../admin-guide/filesystem-monitoring.rst | 70 +++++++++++++++++++ > Documentation/admin-guide/index.rst | 1 + > 2 files changed, 71 insertions(+) > create mode 100644 Documentation/admin-guide/filesystem-monitoring.rst > > diff --git a/Documentation/admin-guide/filesystem-monitoring.rst b/Documentation/admin-guide/filesystem-monitoring.rst > new file mode 100644 > index 000000000000..c0ab1ad268b8 > --- /dev/null > +++ b/Documentation/admin-guide/filesystem-monitoring.rst > @@ -0,0 +1,70 @@ > +.. SPDX-License-Identifier: GPL-2.0 > + > +==================================== > +File system Monitoring with fanotify > +==================================== It is great that you are adding an admin-guide book and it is surely not your fault that there is no existing admin-guide for fanotify to add to. However, the name of the book as well as this title are more generic than what you describe. You see, watching all the deleted files in a filesystem or all modified files in a mount may also be considered as "filesystem monitoring" by some. So my only request is that you keep the book name and title as is, but place your content under a chapter about "filesystem error monitoring". This way, other people can later fill the gaps. (CC Matthew Borowski who indicated his interest in doing so) Thanks, Amir.