Friendly ping... JunChao Sun <sunjunchao2870@xxxxxxxxx> 于2024年6月3日周一 19:36写道: > > Currently, FUSE in the kernel part does not support quotas. If users > want to implement quota functionality with FUSE, they can only achieve > this at the user level using the underlying file system features. > However, if the underlying file system, such as btrfs, does not > support UID/GID level quotas and only support subvolume level quota, > users will need to find alternative methods to implement quota > functionality. > > And consider another scenario: implementing a FUSE file system on top > of an ext4 file system, but all writes to ext4 are done as a single > user (e.g., root). In this case, ext4's UID and GID quotas are not > applicable, and users need to find other ways to implement quotas for > users or groups. > > Given these challenges, I would like to inquire about the community's > perspective on implementing quota functionality at the FUSE kernel > part. Is it feasible to implement quota functionality in the FUSE > kernel module, allowing users to set quotas for FUSE just as they > would for ext4 (e.g., using commands like quotaon /mnt/fusefs or > quotaset /mnt/fusefs)? Would the community consider accepting patches > for this feature? > > I look forward to your insights on this matter. > > Thank you for your time and consideration. > > Best regards.