Re: [PATCH v2] fs/ceph/quota: ignore quota with CAP_SYS_RESOURCE

From: Max Kellermann
Date: Wed Sep 11 2024 - 11:23:37 EST


On Wed, Sep 11, 2024 at 5:03 PM Patrick Donnelly <pdonnell@xxxxxxxxxx> wrote:
> Just because the client cooperatively maintains the quota limits with
> the MDS does not mean it can override the quota in a distributed
> system.

I thought Ceph's quotas were implemented only on the client, just like
file permissions. Is that not correct? Is there an additional
server-side quota check? In my tests, I never saw one; it looked like
I could write arbitrary amounts of data with my patch.

Max