btrfs: qgroup: add new quota mode for simple quotas
authorBoris Burkov <boris@bur.io>
Tue, 16 May 2023 23:35:45 +0000 (16:35 -0700)
committerDavid Sterba <dsterba@suse.com>
Thu, 12 Oct 2023 14:44:10 +0000 (16:44 +0200)
commit182940f4f4dbd932776414744c8de64333957725
tree07417b40b655ad74807cd02963c966aaf8eef358
parent6b0cd63bc75c22b49b6b1ef3d39b5850241340c0
btrfs: qgroup: add new quota mode for simple quotas

Add a new quota mode called "simple quotas". It can be enabled by the
existing quota enable ioctl via a new command, and sets an incompat
bit, as the implementation of simple quotas will make backwards
incompatible changes to the disk format of the extent tree.

Signed-off-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/fs.h
fs/btrfs/ioctl.c
fs/btrfs/qgroup.c
fs/btrfs/qgroup.h
fs/btrfs/root-tree.c
fs/btrfs/transaction.c
include/uapi/linux/btrfs.h
include/uapi/linux/btrfs_tree.h