xfs
[Top] [All Lists]

Re: [PATCH 4/4] Adds ioctl interface support for ext4 project

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 4/4] Adds ioctl interface support for ext4 project
From: Theodore Ts'o <tytso@xxxxxxx>
Date: Fri, 26 Sep 2014 08:01:28 -0400
Cc: Jan Kara <jack@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>, adilger@xxxxxxxxx, linux-api@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx, dmonakhov@xxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, Li Xi <pkuelelixi@xxxxxxxxx>, linux-fsdevel@xxxxxxxxxxxxxxx, linux-ext4@xxxxxxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=d6UODWVTTwdo1B9PKkz9+eHdAWTjZvUzEllh6/HA3XA=; b=auNG7dqfwVZtTbNtSs/zuGgR4MVaOaO/vGXhpTxZTRlkYbWB7zzUu6Xc49ON8V+Tc6WW5M+R8ME88l8UnOmkqC/e6KYAGYqEuWy9h9ZdmPLzLVGj6eJ2N1jfatv4VIcDMONv7XAZ8hxDhVMIJMCuR60wQ4xmdQ8H7dRlFL/ZNH0=;
In-reply-to: <20140925224225.GJ4945@dastard>
References: <1411567470-31799-1-git-send-email-lixi@xxxxxxx> <1411567470-31799-5-git-send-email-lixi@xxxxxxx> <20140924162507.GC27000@xxxxxxxxxxxxx> <20140924162634.GA16886@xxxxxxxxxxxxx> <20140924170105.GE27000@xxxxxxxxxxxxx> <20140925075912.GG4758@dastard> <20140925135213.GB15352@xxxxxxxxxxxxx> <20140925224225.GJ4945@dastard>
User-agent: Mutt/1.5.23 (2014-03-12)
On Fri, Sep 26, 2014 at 08:42:25AM +1000, Dave Chinner wrote:
> Look, I have no problems with extending the existing quota
> interfaces to support project quotas, but that should be a
> *secondary* improvement as userspace tools are updated. The
> primary goal needs to be "works identically to XFS" and so it needs
> to implement the interfaces that are currently used for management
> so that we can actually test that it does work identically.

I think we're getting a bit too hung up on which is the "primary" and
which is the "secondary" interfaces.  The reality is that we should
make both interfaces work.  An example of this is how we handle the
xfs-specific ioctls that are also exposed via the fallocate(2) system
call.

It's not particularly important to me which is the "primary" interface
just because it's been around for 10 years.  Which should implement
*both* so that users are used to using xfs_io(8) or fallocate(1) can
do what they want.

Similarly, if some users are more used to the quotatools interface
(which has been around for quite a long time, BTW, if we're trying to
count primacy by years of availability to Linux users), and some users
that are used to using xfs_quota, both should work.

Cheers,

                                                - Ted

<Prev in Thread] Current Thread [Next in Thread>