Re: DRAFT Design Spec for 1st Class Quota Support in Ext4

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

 



  Hi Ted,

  The proposal looks fine. A couple of comments / questions:

> 6) Tune2fs will have a facility for adding and removing user and group
> quotas inodes while the file system is mounted.  The quota usage will
> not be correct after the quota inodes are newly added, however, so quota
> will not be enabled by default,  If the quota inodes are removed, quota
> will be disabled first.
  I suppose you will make quota file mtime not match last mounted time so
that e2fsck updating the usage will be triggered, right?

> 7) There will be a new interface so that bulk quota information can be
> fetched from the file system.  This needs to be negotiated with Jan
> Kara.  It can either be a new system call, or a magic file in /proc that
> can be opened and the repquota data extracted.
  Traditionally, quota interaction happens via quotactl() syscall. I'm not
against adding a syscall for this but then it would be a logical thing to
transition all the quotactl interface to standard syscalls... I'll try to
come up with some proposal during this week.
  Using /proc/ file looks like an ugly hack to me.

  And one more question: You don't speak in your document, when quotas
will be enabled. I expect accounting will be enabled during mount time, how
about quota enforcement? I think it might be useful if admin can disable
the quota limit enforcement and QUOTAON / QUOTAOFF sysctl is a natural
way to do this. Generic quota code supports this so it comes basically
for free.

								Honza
-- 
Jan Kara <jack@xxxxxxx>
SuSE CR Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux