Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp338134ybz; Tue, 21 Apr 2020 09:58:40 -0700 (PDT) X-Google-Smtp-Source: APiQypIv0NsGKuEjqsY+kKX6o8ZKMeqZ7vvYPmENTICvL68kFUKjLFuCjdD29bo1joGPCAbL8JZo X-Received: by 2002:a50:f61b:: with SMTP id c27mr18436065edn.256.1587488320268; Tue, 21 Apr 2020 09:58:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587488320; cv=none; d=google.com; s=arc-20160816; b=RSZmNhNCeHQDJs9Ud0Pu1ny69rUklvJafRN5DG0NfIX1r/qtezM27i8HPpunmoxcht zTulnNIBNuenh0R3AKgRadRdURPVud/raNrGUfkrmqEBqMvLbNmhj/nTR6L/rLcIHRU1 /Lm410WPOR1ovwskiKapvpj4vsJf6LryGSdnxvGYHgFf5EdDq0i6Q8ZXFFauqic/aJ7Z v42ImEp84Cd2GiBzHVN8KgQ6JIP2atm7PMbghjJWzxDxzxm62Wlu0+fnmM+edW0s/b18 LmVZ7MkzpikPC/GjNTtNIHbmT1zU6l3Ww5mIaQWjFZCkkyKNrB1mXN6vk4ga1eulvyzz 0Wzw== 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=5fs3EDQ07a94XEkp/AtwDK82szd+ZTYfE0G+R2+aa90=; b=IY3TCYh3Q0CMG2IbP+PtvKB7b2TEaPp6iD+XAtMGXvvfG3kKr0V2s5296xcvDI/xWq ScJew1oCHd4wgkPs09vCURL4D8+QRqFXBryjNYKipDSAlZOIN8VeVOQkmrYrq6gTUuZb C4dBHrxAH/xRmguDIdu+cJbKsvuKRsfohTudpm07iBTCXPA2QRnrTLU8Mvb8bzWBch4a mqatIiHeg71APzsiLH3Z0cHLrnNWWNemqsOpyRLLFpvy3ubnyMhhTXrrOUfipV0aWTYz vZkss4zzqP1I3wTT6G/0gL0wCaB9b0EcmaTjndioTUtH/GadV4QJisYWki2ZLkKwkY5I JJbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xV+Rt9gu; 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 k17si1422648edf.183.2020.04.21.09.58.16; Tue, 21 Apr 2020 09:58:40 -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=xV+Rt9gu; 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 S1729419AbgDUQzm (ORCPT + 99 others); Tue, 21 Apr 2020 12:55:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:57320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729130AbgDUQys (ORCPT ); Tue, 21 Apr 2020 12:54:48 -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 7492720CC7; Tue, 21 Apr 2020 16:54:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587488084; bh=1m0dqMfyqunAzLDkBnbFfXRJYKX/yvOdJ++cF5dHUtI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xV+Rt9guKrjb6YjlrDR3s1XDE/t1iRDwUsfr218IfD0IvDV3Ad7gtu2x//iyweZXW dxlNFRoZO/V4YgX7YkvJURvMtadANBATEcy5O/ZCOMgwGPM0cNPX3B1gU9rqaqqE7+ NSg30nhcRv0a530K+IWJVmXlytGz2bSsoJMqr7MU= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jQwAU-00CmEq-M7; Tue, 21 Apr 2020 18:54:42 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , Jan Kara , Jan Kara Subject: [PATCH v2 19/29] docs: filesystems: convert quota.txt to ReST Date: Tue, 21 Apr 2020 18:54:30 +0200 Message-Id: <88f4e5b7e0b173b323413e6f410bdcdd7da847bd.1587487612.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. Acked-by: Jan Kara 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 abfc143434a2..6458891f74e4 100644 --- a/Documentation/filesystems/index.rst +++ b/Documentation/filesystems/index.rst @@ -31,6 +31,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 4c8fc51d3955..ac8ddd91928a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5020,7 +5020,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