Re: Should journaled quota be default for ext4?

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

 



> On Thu, Mar 25, 2010 at 11:30:24PM -0500, Eric Sandeen wrote:
> > Ted's email about quotacheck made me think:
> > 
> > Is there a reason that journaled quota is not default for ext4?
> > (or ext3 for that matter, but we're not messing with that now)
> > 
> > IOW - if we do mount -o quota, is there any reason that we should
> > also need more options to journal that quota?  When would we not
> > want journaled quota?
> > 
> > (Forgive me if it's a dumb question, I'm not as well versed in
> > extN quota as I probably should be).
> 
> Part of the problem is that these mount options matter to various init
> scripts (and possibly to quotatools?).  So for example, the usrquota
  Yes, quota-tools currently use these options as well to detect whether they
should run the command on the filesystem or not. The problem is that at least
"quotaon -a" needs to know on which filesystem it should run and currently it
uses quota mount options to decide. I can change quota tools to just look for
quota files but that's not guaranteed to succeed because for unjournaled
quotas, quota files could be anywhere - even on a different filesystem - and I
really know admins who use such setup. And for journaled quotas, file name
of the quota file is the one given in the {usr,grp}jquota mount option
so without it it's impossible to locate the quota file as well.
  So I think the easiest way out of this is really to make quota files hidden
as we discussed in another thread. Then kernel always knows whether the
filesystem accounts quotas or not and quota tools can ask it with GETFMT
quotactl.

									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