On 6/23/22 6:44 PM, Luís Henriques wrote:
xiubli@xxxxxxxxxx writes:
From: Xiubo Li <xiubli@xxxxxxxxxx>
When the quota is approaching we need to notify it to the MDS as
soon as possible, or the client could write to the directory more
than expected.
This will flush the dirty caps without delaying after each write,
though this couldn't prevent the real size of a directory exceed
the quota but could prevent it as soon as possible.
Nice, looks good. Unfortunately, the real problem can't probably be
solved without a complete re-design of the cephfs quotas. Oh well...
Yeah, correct. Currently this is what we can do.
Thanks Luis!
Reviewed-by: Luís Henriques <lhenriques@xxxxxxx>
Cheers,