Re: Implementing quota support on Linux without block device as backing store ? / was: RE: [PATCH 1/8] quota: Allow to pass mount path to quotactl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue 04-02-20 15:07:31, Mainz, Roland wrote:
> Sascha Hauer wrote:
> > This patch introduces the Q_PATH flag to the quotactl cmd argument.
> > When given, the path given in the special argument to quotactl will be the
> > mount path where the filesystem is mounted, instead of a path to the block
> > device.
> > This is necessary for filesystems which do not have a block device as backing
> > store. Particularly this is done for upcoming UBIFS support.
> 
> Just curious: Did you check how NFSv4 (also a filesystem without block
> device as backing store...)  implemented quota support ? Maybe there is
> already a solution...

Well, NFS does not really implement quota support. It relies on the server
(i.e., a local filesystem on the server) for quota tracking and enforcement
and the NFS client just gets the EDQUOT error the server got from the
filesystem. And for quota querrying (e.g. quota(1) command) there is a
special sideband rpc protocol handled by the quota tools. With NFSv4 there
is some support in the protocol itself for quota reporting but in Linux
this is not really supported because it does not map well to how Linux does
quotas.

								Honza
-- 
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux