linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] e2fsprogs: support quota as first class feature in ext4
@ 2011-07-20 18:40 Aditya Kali
  2011-07-20 18:40 ` [PATCH 1/5] e2fsprogs: add quota library to e2fsprogs Aditya Kali
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Aditya Kali @ 2011-07-20 18:40 UTC (permalink / raw)
  To: linux-ext4

This patch set is a step towards making quotas as a first class
supported feature in ext4 in addition to the separately sent
kernel patches. This idea is proposed at:
https://ext4.wiki.kernel.org/index.php/Design_For_1st_Class_Quota_in_Ext4.

This patch set only provides some basic functionality in e2fsprogs
to set quota feature and fix quotas during e2fsck on ext4 filesystem.
This patch set:
1) ports the quota library written by Jan Kara for quota-tools to
e2fsprogs. I have ported most of the quota-library by Jan Kara as-is
(except some readability changes and use of ext2fs library).
2) adds wrapper over the quota library (lib/quota/mkquota.[c|h]) that
provides an interface that can be used by e2fsprogs tools.
3) adds support to mke2fs and tune2fs to enable the quota feature
on ext4 superblock and create user/group quota inodes using the quota
library.
4) adds support for doing quota accounting during full e2fsck scan and
fix the quota inodes.

Following features still need to be implemented:
1) allow support for reading existing quota files
2) allow debugfs to view quota information in the quota inodes
3) report mismatch in existing quotas and computed quotas after
   e2fsck scan (currently, the existing quota inodes are simply
   overwritten with new inodes).

Thanks,
	-Aditya

Aditya Kali (5):
 e2fsprogs: add quota library to e2fsprogs
 e2fsprogs: Make quota as a supported feature
 mke2fs: support creation of filesystem with quota feature
 tune2fs: Add support for turning on quota feature
 e2fsck: check quota accounting during fsck

 MCONFIG.in               |    6 +
 Makefile.in              |    3 +-
 configure                |   32 +++
 configure.in             |   51 ++++
 e2fsck/Makefile.in       |   43 +++--
 e2fsck/e2fsck.h          |    9 +
 e2fsck/message.c         |    2 +
 e2fsck/pass1.c           |   34 +++
 e2fsck/pass1b.c          |    6 +-
 e2fsck/pass2.c           |   16 +-
 e2fsck/pass3.c           |    3 +
 e2fsck/pass4.c           |    1 +
 e2fsck/problem.c         |   20 ++
 e2fsck/problem.h         |    9 +
 e2fsck/quota.c           |   88 +++++++
 e2fsck/super.c           |    5 +
 e2fsck/unix.c            |   17 ++
 lib/ext2fs/ext2fs.h      |    3 +-
 lib/quota/Makefile.in    |  127 ++++++++++
 lib/quota/common.c       |   63 +++++
 lib/quota/common.h       |   78 +++++++
 lib/quota/dqblk_v2.h     |   43 ++++
 lib/quota/mkquota.c      |  400 ++++++++++++++++++++++++++++++++
 lib/quota/mkquota.h      |   66 ++++++
 lib/quota/quota.h        |  190 +++++++++++++++
 lib/quota/quota.pc.in    |   11 +
 lib/quota/quotaio.c      |  359 +++++++++++++++++++++++++++++
 lib/quota/quotaio.h      |  163 +++++++++++++
 lib/quota/quotaio_tree.c |  574 ++++++++++++++++++++++++++++++++++++++++++++++
 lib/quota/quotaio_tree.h |   63 +++++
 lib/quota/quotaio_v2.c   |  314 +++++++++++++++++++++++++
 lib/quota/quotaio_v2.h   |  103 +++++++++
 misc/Makefile.in         |   28 ++-
 misc/mke2fs.8.in         |    5 +
 misc/mke2fs.c            |   21 ++-
 misc/tune2fs.8.in        |   15 ++
 misc/tune2fs.c           |  148 ++++++++++++-
 37 files changed, 3081 insertions(+), 38 deletions(-)


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-09-10  3:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 18:40 [PATCH 0/5] e2fsprogs: support quota as first class feature in ext4 Aditya Kali
2011-07-20 18:40 ` [PATCH 1/5] e2fsprogs: add quota library to e2fsprogs Aditya Kali
2011-09-09 22:53   ` Andreas Dilger
2011-09-10  3:31     ` Aditya Kali
2011-07-20 18:40 ` [PATCH 2/5] e2fsprogs: Make quota as a supported feature Aditya Kali
2011-07-20 18:40 ` [PATCH 3/5] mke2fs: support creation of filesystem with quota feature Aditya Kali
2011-07-20 18:40 ` [PATCH 4/5] tune2fs: Add support for turning on " Aditya Kali
2011-09-09 22:39   ` Andreas Dilger
2011-09-09 23:41     ` Aditya Kali
2011-07-20 18:40 ` [PATCH 5/5] e2fsck: check quota accounting during fsck Aditya Kali
2011-07-20 22:03   ` Aditya Kali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).