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

From: Patrick Donnelly
Date: Wed Sep 11 2024 - 11:08:00 EST


On Wed, Sep 11, 2024 at 10:25 AM Max Kellermann
<max.kellermann@xxxxxxxxx> wrote:
>
> CAP_SYS_RESOURCE allows users to "override disk quota limits". Most
> filesystems have a CAP_SYS_RESOURCE check in all quota check code
> paths, but Ceph currently does not. This patch implements the
> feature.

Just because the client cooperatively maintains the quota limits with
the MDS does not mean it can override the quota in a distributed
system.

NAK

--
Patrick Donnelly, Ph.D.
He / Him / His
Red Hat Partner Engineer
IBM, Inc.
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D