Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1056505ybz; Thu, 16 Apr 2020 01:55:09 -0700 (PDT) X-Google-Smtp-Source: APiQypKqBoS8TLvYt7Vs2Nm7/DpSKtcy/larnyPnOIis6yaPRGEXBJ7GicxL5XMKubdYTNx1N1iB X-Received: by 2002:a50:9e2a:: with SMTP id z39mr29871019ede.178.1587027308827; Thu, 16 Apr 2020 01:55:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587027308; cv=none; d=google.com; s=arc-20160816; b=ynnnqo3XtIweHpzAwQOALqThXJNCr2GapgWa/vI5+RQWHFIJrznFY7pAU3wBhDu+C3 eiG/V/TfKrqrjjyjvqR/7OGAmMxcbUTU9nKU+AKYaLWcBH+g/nmBcHMU7aBaHZ6iU8Gu Eo0rJN0/WVXts6svjQy2ZVfCaY4oialpNDK06x50z1YtqKS2zkIMlMZgJLnNX3sfnKFG YiFszf8kk4mZax9C1zr7EDm5KJkYc4aZ/PHFqfeoxnDFErfeZgCfkGLytW9ht10gwXuF O6JH3JfHfgnq+569L1+K2Wc4dSlQxOm8itFcjfQKv+XGfI0vSiXyOsCQvKZGE2LXIkJg onVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=QI+elFtSHM4WzF21S6KyHESunDUqLsuDNMGEj0Q4LT4=; b=fY3gcKljucOm5OPKkRh0sWG9SSDChAUQH9nbPaUVf8lmlzh6cqATG5YIudaDh8lb+M p+s1kRCalXc+dLy9Q0gszlzwFLBYTTywETLu4DNwqfO4Fvlpr8EOh8j/lp29HuwFzhYF JR6mSNfU1geQ3yir0pZVtPzEXc9m0sU13m+gfSCrPdz92H8IlpdI3Uz+QXiA9j2Lctim wabqaIX/YKQNrZ1JITX60oGBd+JqGBtWVOWBpXvNi11q0wCwTpknnD4Z2s+3ZOr1eFa+ OtHv986oGVJqHHASKsilXQewLOryEnH8UIeIEBCllYy7Qr1x2Jpt5/W0uM8ok//8Sihj hb3g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y14si12341408edm.185.2020.04.16.01.54.45; Thu, 16 Apr 2020 01:55:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2502926AbgDPIvl (ORCPT + 99 others); Thu, 16 Apr 2020 04:51:41 -0400 Received: from mx2.suse.de ([195.135.220.15]:34646 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502817AbgDPIqf (ORCPT ); Thu, 16 Apr 2020 04:46:35 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4A2BDAF40; Thu, 16 Apr 2020 08:45:38 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id F2ED81E1250; Thu, 16 Apr 2020 10:45:37 +0200 (CEST) Date: Thu, 16 Apr 2020 10:45:37 +0200 From: Jan Kara To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , Jan Kara , Amir Goldstein , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 14/34] docs: filesystems: convert dnotify.txt to ReST Message-ID: <20200416084537.GA23739@quack2.suse.cz> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 15-04-20 16:32:27, Mauro Carvalho Chehab wrote: > - Add a SPDX header; > - Add a document title; > - Some whitespace fixes and new line breaks; > - Add table markups; > - Add it to filesystems/index.rst > > Signed-off-by: Mauro Carvalho Chehab Looks good to me. I expect you merge this through documentation tree so you can add: Acked-by: Jan Kara Honza > --- > .../filesystems/{dnotify.txt => dnotify.rst} | 11 ++++++++--- > Documentation/filesystems/index.rst | 1 + > MAINTAINERS | 2 +- > 3 files changed, 10 insertions(+), 4 deletions(-) > rename Documentation/filesystems/{dnotify.txt => dnotify.rst} (90%) > > diff --git a/Documentation/filesystems/dnotify.txt b/Documentation/filesystems/dnotify.rst > similarity index 90% > rename from Documentation/filesystems/dnotify.txt > rename to Documentation/filesystems/dnotify.rst > index 08d575ece45d..a28a1f9ef79c 100644 > --- a/Documentation/filesystems/dnotify.txt > +++ b/Documentation/filesystems/dnotify.rst > @@ -1,5 +1,8 @@ > - Linux Directory Notification > - ============================ > +.. SPDX-License-Identifier: GPL-2.0 > + > +============================ > +Linux Directory Notification > +============================ > > Stephen Rothwell > > @@ -12,6 +15,7 @@ being delivered using signals. > The application decides which "events" it wants to be notified about. > The currently defined events are: > > + ========= ===================================================== > DN_ACCESS A file in the directory was accessed (read) > DN_MODIFY A file in the directory was modified (write,truncate) > DN_CREATE A file was created in the directory > @@ -19,6 +23,7 @@ The currently defined events are: > DN_RENAME A file in the directory was renamed > DN_ATTRIB A file in the directory had its attributes > changed (chmod,chown) > + ========= ===================================================== > > Usually, the application must reregister after each notification, but > if DN_MULTISHOT is or'ed with the event mask, then the registration will > @@ -36,7 +41,7 @@ especially important if DN_MULTISHOT is specified. Note that SIGRTMIN > is often blocked, so it is better to use (at least) SIGRTMIN + 1. > > Implementation expectations (features and bugs :-)) > ---------------------------- > +--------------------------------------------------- > > The notification should work for any local access to files even if the > actual file system is on a remote server. This implies that remote > diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst > index 470b2da2b7b1..960e0cc29491 100644 > --- a/Documentation/filesystems/index.rst > +++ b/Documentation/filesystems/index.rst > @@ -26,6 +26,7 @@ algorithms work. > directory-locking > dax > devpts > + dnotify > > automount-support > > diff --git a/MAINTAINERS b/MAINTAINERS > index 511d19bcfa1e..eebb55517709 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -4995,7 +4995,7 @@ M: Jan Kara > R: Amir Goldstein > L: linux-fsdevel@vger.kernel.org > S: Maintained > -F: Documentation/filesystems/dnotify.txt > +F: Documentation/filesystems/dnotify.rst > F: fs/notify/dnotify/ > F: include/linux/dnotify.h > > -- > 2.25.2 > -- Jan Kara SUSE Labs, CR