From patchwork Thu Mar 21 08:33:37 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhiyong Wu X-Patchwork-Id: 2311511 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 13BD540213 for ; Thu, 21 Mar 2013 08:35:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757607Ab3CUIet (ORCPT ); Thu, 21 Mar 2013 04:34:49 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:45219 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757564Ab3CUIer (ORCPT ); Thu, 21 Mar 2013 04:34:47 -0400 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 21 Mar 2013 02:34:46 -0600 Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e39.co.us.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 21 Mar 2013 02:34:44 -0600 Received: from d01relay06.pok.ibm.com (d01relay06.pok.ibm.com [9.56.227.116]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 1FE6438C804D; Thu, 21 Mar 2013 04:34:43 -0400 (EDT) Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay06.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r2L8Yhdj29491358; Thu, 21 Mar 2013 04:34:43 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r2L8YgfG017067; Thu, 21 Mar 2013 05:34:42 -0300 Received: from us.ibm.com (f17.cn.ibm.com [9.115.122.140]) by d01av03.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id r2L8YdkV016936; Thu, 21 Mar 2013 05:34:39 -0300 Received: by us.ibm.com (sSMTP sendmail emulation); Thu, 21 Mar 2013 16:33:38 +0800 From: zwu.kernel@gmail.com To: linux-btrfs@vger.kernel.org Cc: linux-kernel@vger.kernel.org, sensille@gmx.net, Zhi Yong Wu Subject: [PATCH] btrfs-progs: add missing qgroup synopsis in btrfs Date: Thu, 21 Mar 2013 16:33:37 +0800 Message-Id: <1363854817-22416-1-git-send-email-zwu.kernel@gmail.com> X-Mailer: git-send-email 1.7.11.7 X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 13032108-3620-0000-0000-000001B651D2 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- man/btrfs.8.in | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 94f4ffe..54de60e 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -60,6 +60,18 @@ btrfs \- control a btrfs filesystem \fBbtrfs\fP \fBinspect-internal logical-resolve\fP [-Pv] [-s size] \fI\fP \fI\fP .PP +\fBbtrfs\fP \fBqgroup assign\fP \fI\fP \fI\fP \fI\fP +.PP +\fBbtrfs\fP \fBqgroup remove\fP \fI\fP \fI\fP \fI\fP +.PP +\fBbtrfs\fP \fBqgroup create\fP \fI\fP \fI\fP +.PP +\fBbtrfs\fP \fBqgroup destroy\fP \fI\fP \fI\fP +.PP +\fBbtrfs\fP \fBqgroup show\fP \fI\fP +.PP +\fBbtrfs\fP \fBqgroup limit\fP [options] \fI\fP|\fBnone\fP [\fI\fP] \fI\fP +.PP \fBbtrfs\fP \fBhelp|\-\-help \fP\fI\fP .PP \fBbtrfs\fP \fB \-\-help \fP\fI\fP @@ -434,6 +446,31 @@ verbose mode. print count of returned paths and all ioctl() return values set inode container's size. This is used to increase inode container's size in case it is not enough to read all the resolved results. The max value one can set is 64k. .RE +.TP + +\fBbtrfs qgroup assign\fP \fI\fP \fI\fP \fI\fP +Enable subvolume qgroup support for a filesystem. +.TP + +\fBbtrfs qgroup remove\fP \fI\fP \fI\fP \fI\fP +Remove a subvol from a quota group. +.TP + +\fBbtrfs qgroup create\fP \fI\fP \fI\fP +Create a subvolume quota group. +.TP + +\fBbtrfs qgroup destroy\fP \fI\fP \fI\fP +Destroy a subvolume quota group. +.TP + +\fBbtrfs qgroup show\fP \fI\fP +Show all subvolume quota groups. +.TP + +\fBbtrfs\fP \fBqgroup limit\fP [options] \fI\fP|\fBnone\fP [\fI\fP] \fI\fP +Limit the size of a subvolume quota group. +.RE .SH EXIT STATUS \fBbtrfs\fR returns a zero exist status if it succeeds. Non zero is returned in