can we simplify the quota matrix in ext4?

Eric Sandeen
2011-06-21T18:45:52Z

I was looking at

62d2b5f2dcd3707b070efb16bbfdf6947c38c194 ext4: Always journal quota file modifications

and was thinking - if we always journal, why do we still have all the mount options etc for journaled quota?

I guess without -o usrjquota=foo we don't journal right from mount time, and there are a few other paths that get skipped, but those seem like details...

It seems that ideally - and perhaps this is hindsight - ext4 should have defaulted to journaled, QFMT_VFS_V1 quotas only... is there any reason not to?

I'm still not very well versed in vfs quota, but does it seem possible to move in this direction? It seems odd that we should still be supporting unjournaled, vfsold-format quotas in ext4 these days. What's the point?

If it seems possible to move in this direction within the exiting quota framework I'd be interested in trying to get it done.

Thanks,
-Eric