Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp707215ybz; Wed, 15 Apr 2020 17:10:10 -0700 (PDT) X-Google-Smtp-Source: APiQypKjFlhJOyBQZ5YLOstnlmcc6uXZb3BsEFqgv0V74OW6q4ib/QeBY7uKzn/JhvyVd2xYlHpz X-Received: by 2002:a05:6402:1b0b:: with SMTP id by11mr8617229edb.269.1586995810270; Wed, 15 Apr 2020 17:10:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586995810; cv=none; d=google.com; s=arc-20160816; b=c0kxqODXMCBf/DwDfEiXt2Bj7WYNoWOmktZc9GfbLWVe57Lo+917w0YJ1jegKxia03 +QhLdKs1FjSY2GxXSYRsonUQbuyBecHDYdu1NFB2KZSOdeVv67GmXxwB66js2cbdN3wO z4tE4aUhKK8AMV5rcwMfkCILlYWYhN3mXowEzqS7dfWw5hEOABesBbMluCPKfeddkSf1 zFrVtWbsxET0MtWsmit2Bi/NViDkXmJsoYd7gKavvYCyFVbCxX6P6iMUXXDMqsxXlUon qGsE+iUyaHsEquQ/UhSpGPhQRnr8AcFMzT+1x1DoXQOzrCfHNL7NL6iZAj6HRmAEFQjH +J6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8JkIxDCysfGNqei5jV+cpk10uIIEX7f/wS/tv5q6eGg=; b=yMQ82/dXkGxaHgGPWZssVvg17NAng4y2WpRqw+k8ffMwD4KqMImyQiu1rkFWbDJMFD W7nbExNDZkuXkSudLAIl0YseN3xkBVUT1cPt6SpfWqvKABcNmrp6t+yiT5lIPCFcvj8k JbP3gLSdJWIwMsqymvmMhO5T3vVIQoYNTX4b2s2jdyRzC3yKg523GGkwkvz2IO+MpoHq B6pr0YecLhfmsxMU90XqTbHjO6vsiYBEoV9jQg/oL1I8vrsTg/MHqud+UZh0XgJIEbpg ScwsLqRbC08Gu7K0PU4ekEJjKsoK2/5T0owlQujFufD8fmgE6tSSz4H7PZN6DlxZgcOk qzIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Usx1ej+C; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c7si5098681edq.184.2020.04.15.17.09.46; Wed, 15 Apr 2020 17:10:10 -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; dkim=pass header.i=@kernel.org header.s=default header.b=Usx1ej+C; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2636717AbgDOOj5 (ORCPT + 99 others); Wed, 15 Apr 2020 10:39:57 -0400 Received: from mail.kernel.org ([198.145.29.99]:45778 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2394083AbgDOOdD (ORCPT ); Wed, 15 Apr 2020 10:33:03 -0400 Received: from mail.kernel.org (ip5f5ad4d8.dynamic.kabel-deutschland.de [95.90.212.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A1E8F21D90; Wed, 15 Apr 2020 14:32:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586961171; bh=4wJdmAjlV4DSVYf34Z6Qv6j9VbuxAj8qGiPDjuUgp8s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Usx1ej+CdC9hn1i/mZYp2buvTm6pVVBCQnk71Owr8Yzc+ITRSE6Y/5muujy3NC88N K1OHmAOjUmjRMP1zuKx9hv9l3VlyE22GQdXj4asI9DreSg0JGhlBki2zW845LBdnr+ lMReab5NDvueMB/V/DqOx2kBjK63viMsruBh4pr0= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jOj5t-006kPb-TB; Wed, 15 Apr 2020 16:32:49 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Jan Kara Subject: [PATCH 24/34] docs: filesystems: convert quota.txt to ReST Date: Wed, 15 Apr 2020 16:32:37 +0200 Message-Id: <36dc2cc02b525893ab66dca7ada2090236fb1879.1586960617.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org - 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 --- 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