[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7360A48E-8576-49DB-878B-DFC2EFC83BC4@ddn.com>
Date: Thu, 5 Nov 2015 15:13:10 +0000
From: Shuichi Ihara <sihara@....com>
To: Li Xi <pkuelelixi@...il.com>, Andreas Dilger <adilger@...ger.ca>,
Theodore Ts'o <tytso@....edu>
CC: linux-fsdevel <linux-fsdevel@...r.kernel.org>,
linux-ext4 <linux-ext4@...r.kernel.org>,
Linux API <linux-api@...r.kernel.org>, Jan Kara <jack@...e.cz>,
Al Viro <viro@...iv.linux.org.uk>,
Christoph Hellwig <hch@...radead.org>,
Dave Chinner <david@...morbit.com>,
Дмитрий Монахов
<dmonakhov@...nvz.org>, Shuichi Ihara <ihashu@...il.com>
Subject: Re: [v15 0/4] ext4: add project quota support
Hello Ted, Andreas,
Shilong posted an email here a week ago below.
http://lists.openwall.net/linux-ext4/2015/10/30/2
we identified 10 project quota related xfstest and ported them into ext4/xxx.
test number are 304, 305, 299, 244, 196, 134, 108, 107, 106, 050 in xfs.
We ported 9/10 tests into ext4/xxx
ext4/050 ext4/106 ext4/107 ext4/108 ext4/196 ext4/244 ext4/299 ext4/400 ext4/401
please check https://github.com/wangshilong/xfstests
An another patch was not valid since quota utility is different.
In order to run ported tests, patched quota-tools and Li Xi ported patch of e2fsprogs required.
https://github.com/wangshilong/quota-tools/commits/project
http://lists.openwall.net/linux-ext4/2015/10/29/2
Thanks
Ihara
11/5/15, 11:45 PM , "linux-ext4-owner@...r.kernel.org (Li Xi の代理)" <linux-ext4-owner@...r.kernel.org (pkuelelixi@...il.com の代理)> wrote:
>On Fri, Sep 25, 2015 at 1:12 AM, Andreas Dilger <adilger@...ger.ca> wrote:
>> On Sep 13, 2015, at 2:20 PM, Li Xi <pkuelelixi@...il.com> wrote:
>>>
>>> The following patches propose an implementation of project quota
>>> support for ext4. A project is an aggregate of unrelated inodes
>>> which might scatter in different directories. Inodes that belong
>>> to the same project possess an identical identification i.e.
>>> 'project ID', just like every inode has its user/group
>>> identification. The following patches add project quota as
>>> supplement to the former uer/group quota types.
>>
>> We discussed this on the ext4 developer concall today and tried to
>> move the landing of these patches forward. Some notes below:
>>
>> - Ted: agreed to reserve EXT4_FEATURE_RO_COMPAT_PROJECT, s_prj_quota_inum,
>> EXT4_PROJINHERIT_FL, and i_projid fields for use by project quota to
>> avoid compatibility issues if patches are not landed immediately.
>> - Ted: to do final check of inode flag value
>> - ext4 project quota inode does not need to use a reserved inode, but
>> could after Jan's patch to increase reserved inodes lands
>> - Li Xi: identify xfstests subtests that are exercising project quota
>> - submit patches to xfstests that will activate them for ext4
>> - keep in ext4 xfstests for testing until patches land upstream
>> - this needs to be done before landing to ensure ext4 code works
>> - Li Xi: document the behaviour of project quota (if no existing
>> document exists for XFS already), some of this is already below
>> - update man pages for df(1) and statfs(2) for subdir with project ID
>> (i.e. that it returns only quota usage and limit for project ID)
>> - Ted: where should document go? linux/Documentation/fs? ext4 wiki?
>> - not a requirement for testing, can be done after landing
>>
>> - All: decide on a common tool for setting project ID on file/directory
>> - don't want to require xfsutils in order to use project quota
>> - start with chattr (using FS_IOC_FS{GET,SET}XATTR) in e2fsprogs
>> - allows testing project quota with e2fsprogs/ext4
>> - chproj (like chown/chgrp) would also be an option
>> - needs more discussion/development effort, goes into fileutils
>> - this doesn't need to be decided immediately, and both could be done
>>
>Hi,
>
>I've pushed the patch of Ext4 as well as e2fsprogs. Shilong has added test
>suits for ext4 project quota in xfstest, and will push patches soon. I
>will write
>necessary documentation both for manual and linux/Documentation/fs.
>
>Hopefully, at least the kernel patches of ext4 project quota will be merged
>soon.
>
>Regards,
>Li Xi
>--
>To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
>the body of a message to majordomo@...r.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists