On 2018/11/19 下午11:36, Nikolay Borisov wrote: > > > On 19.11.18 г. 16:48 ч., Qu Wenruo wrote: >> There may be some qgroup reserved space related problem in such case, >> but I'm not 100% sure to foresee such problem. > > But why is this a problem - we always queue quota rescan following QUOTA > enable, that should take care of proper accounting, no? For reserved data/metadata space, not qgroup numbers. But it turns out we have already handle such case for data. So I'm overreacting to this problem. > >> >> >> The best way to do this is, commit trans first, and before any other one >> trying to start transaction, we set the bit. >> However I can't find such infrastructure now (I still remember we used >> to have a pending bit to change quota enabled flag, but removed later)
