On Mon, Jul 18, 2016 at 6:20 PM, Jan Kara <jack@xxxxxxx> wrote: > On Fri 15-07-16 10:15:31, Wang Shilong wrote: >> On Thu, Jul 14, 2016 at 10:13 PM, Jan Kara <jack@xxxxxxx> wrote: >> > On Tue 12-07-16 12:15:47, Ted Tso wrote: >> >> >> Does that sound like a plan? >> > >> > Yes. quotaoff will already disable only enforcement for ext4 with hidden >> > quota files so there's no need to change anything there. We just need to >> > add kernel support for enabling quota enforcement based on mount option. >> > Attached patch should do that - I still need to test whether it doesn't >> > break anything so don't apply it yet, just have a look whether it looks >> > sane to you. >> >> I sent a similar patch weeks ago. >> http://marc.info/?l=linux-ext4&m=146787897927183&w=2 > > Your patch was actually quite different. It did implement prjquota option > but the option did something else than in my patch... In your patch you > implemented prjquota option to match the behavior of original quota in > normal files. In my patch I've implemented behavior of prjquota option to > behave similarly as in XFS - i.e. enable enforcement of project quotas when > project quota feature is enabled. I see, ok, that makes sense for me. Thank you, Shilong > > Honza > -- > Jan Kara <jack@xxxxxxxx> > SUSE Labs, CR -- 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