Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1058678ybz; Thu, 16 Apr 2020 01:59:02 -0700 (PDT) X-Google-Smtp-Source: APiQypJLDcXgRiSwQKu5glJfofZ52hGIdbmBlfEfqzSC4neDeg99qxRDfeRg6VjBZKuKy6VFg4ym X-Received: by 2002:a17:907:2069:: with SMTP id qp9mr8973129ejb.137.1587027542635; Thu, 16 Apr 2020 01:59:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587027542; cv=none; d=google.com; s=arc-20160816; b=DegZ/Ewmtqj3huRXqcwmjlBvxMzURjQyw1K3UUHWW2q/KHothQueHnJEPlawU4jFZ9 c2whNXEoc9JEIzPi6wM8weQiczUOcn1GCwIhs4jlHDnjbYuHiDUDc5ST4t5HygxpctoM R4q6CFbJoQ8YCMCYu0LiQ7Fd+WPzx6fW5Q6rrqnh+VpSmTvuFUFQzfrTJdpZU4XUSJyS uMUqplS27lO72uO2YHGkKn2w98JDsfRGfWNGE8aedGY26QzHEQS/5/MK492dOxU62/JT BwtEruKeLrvOfNVrl/MpYNHC3otbCb69qE1sENqpwwJzFztCQNNbWmySqZnS9jmeThkm ET5Q== 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=qb/3Jx7uLbJ8g/Ko7hPSeuZfuo9x1Vrdkt3F863OVxk=; b=Hk2LB1b3QCkiR/XyOcJd5qGR0631YWzQ9rPGJ/MBwcfTrPqNKCxWtwf3hVEfy6Ro4Z ym5XyLhldmIubJPupEby74mkic6u100M4pGewFRiYplHGghQ8dahQ+TJ3YnRPeQCBKLA p+9Ivgeol9OjMftABYPUlongaI0fwBzF+2OroFvWP+Pxg0V0NwFGPnf8xtBHaRDmrDZJ CgrxIGDDdBNAjFtkgTWEsg/OcETyU2n8Hf1SVzvxHGWg1b1Yhq9z6Os+e8XlfvMVCslh qMAKg1x7eEWvGBM88gxONk7yRi444JWxsbdpMdPDRWmd7q4Br6gJA07LsZnNjqYMw6KC 4AYg== 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 g6si12869534edn.379.2020.04.16.01.58.40; Thu, 16 Apr 2020 01:59:02 -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 S2503008AbgDPIym (ORCPT + 99 others); Thu, 16 Apr 2020 04:54:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:35550 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502885AbgDPIru (ORCPT ); Thu, 16 Apr 2020 04:47:50 -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 ED75AACD8; Thu, 16 Apr 2020 08:47:47 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 1D3711E1250; Thu, 16 Apr 2020 10:47:48 +0200 (CEST) Date: Thu, 16 Apr 2020 10:47:48 +0200 From: Jan Kara To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , Jan Kara Subject: Re: [PATCH 24/34] docs: filesystems: convert quota.txt to ReST Message-ID: <20200416084748.GB23739@quack2.suse.cz> References: <36dc2cc02b525893ab66dca7ada2090236fb1879.1586960617.git.mchehab+huawei@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36dc2cc02b525893ab66dca7ada2090236fb1879.1586960617.git.mchehab+huawei@kernel.org> 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:37, Mauro Carvalho Chehab wrote: > - Add a SPDX header; > - Adjust document title; > - Some whitespace fixes and new line breaks; > - Add it to filesystems/index.rst. > > Signed-off-by: Mauro Carvalho Chehab Looks good to me. You can add: Acked-by: Jan Kara Honza > --- > Documentation/filesystems/index.rst | 1 + > .../filesystems/{quota.txt => quota.rst} | 41 +++++++++++++------ > MAINTAINERS | 2 +- > 3 files changed, 31 insertions(+), 13 deletions(-) > rename Documentation/filesystems/{quota.txt => quota.rst} (81%) > > diff --git a/Documentation/filesystems/index.rst b/Documentation/filesystems/index.rst > index a35b7d6ee5bc..8a17f8234b86 100644 > --- a/Documentation/filesystems/index.rst > +++ b/Documentation/filesystems/index.rst > @@ -33,6 +33,7 @@ algorithms work. > locks > mandatory-locking > mount_api > + quota > > automount-support > > diff --git a/Documentation/filesystems/quota.txt b/Documentation/filesystems/quota.rst > similarity index 81% > rename from Documentation/filesystems/quota.txt > rename to Documentation/filesystems/quota.rst > index 32874b06ebe9..a30cdd47c652 100644 > --- a/Documentation/filesystems/quota.txt > +++ b/Documentation/filesystems/quota.rst > @@ -1,4 +1,6 @@ > +.. SPDX-License-Identifier: GPL-2.0 > > +=============== > Quota subsystem > =============== > > @@ -39,6 +41,7 @@ Currently, the interface supports only one message type QUOTA_NL_C_WARNING. > This command is used to send a notification about any of the above mentioned > events. Each message has six attributes. These are (type of the argument is > in parentheses): > + > QUOTA_NL_A_QTYPE (u32) > - type of quota being exceeded (one of USRQUOTA, GRPQUOTA) > QUOTA_NL_A_EXCESS_ID (u64) > @@ -48,20 +51,34 @@ in parentheses): > - UID of a user who caused the event > QUOTA_NL_A_WARNING (u32) > - what kind of limit is exceeded: > - QUOTA_NL_IHARDWARN - inode hardlimit > - QUOTA_NL_ISOFTLONGWARN - inode softlimit is exceeded longer > - than given grace period > - QUOTA_NL_ISOFTWARN - inode softlimit > - QUOTA_NL_BHARDWARN - space (block) hardlimit > - QUOTA_NL_BSOFTLONGWARN - space (block) softlimit is exceeded > - longer than given grace period. > - QUOTA_NL_BSOFTWARN - space (block) softlimit > + > + QUOTA_NL_IHARDWARN > + inode hardlimit > + QUOTA_NL_ISOFTLONGWARN > + inode softlimit is exceeded longer > + than given grace period > + QUOTA_NL_ISOFTWARN > + inode softlimit > + QUOTA_NL_BHARDWARN > + space (block) hardlimit > + QUOTA_NL_BSOFTLONGWARN > + space (block) softlimit is exceeded > + longer than given grace period. > + QUOTA_NL_BSOFTWARN > + space (block) softlimit > + > - four warnings are also defined for the event when user stops > exceeding some limit: > - QUOTA_NL_IHARDBELOW - inode hardlimit > - QUOTA_NL_ISOFTBELOW - inode softlimit > - QUOTA_NL_BHARDBELOW - space (block) hardlimit > - QUOTA_NL_BSOFTBELOW - space (block) softlimit > + > + QUOTA_NL_IHARDBELOW > + inode hardlimit > + QUOTA_NL_ISOFTBELOW > + inode softlimit > + QUOTA_NL_BHARDBELOW > + space (block) hardlimit > + QUOTA_NL_BSOFTBELOW > + space (block) softlimit > + > QUOTA_NL_A_DEV_MAJOR (u32) > - major number of a device with the affected filesystem > QUOTA_NL_A_DEV_MINOR (u32) > diff --git a/MAINTAINERS b/MAINTAINERS > index 470389ef0135..519f5d84adca 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -5009,7 +5009,7 @@ W: http://www.win.tue.nl/~aeb/partitions/partition_types-1.html > DISKQUOTA > M: Jan Kara > S: Maintained > -F: Documentation/filesystems/quota.txt > +F: Documentation/filesystems/quota.rst > F: fs/quota/ > F: include/linux/quota*.h > F: include/uapi/linux/quota*.h > -- > 2.25.2 > -- Jan Kara SUSE Labs, CR