btrfs-progs/mkfs
Boris Burkov 14ac1a6051 btrfs-progs: mkfs: add support for squota
Add the ability to enable simple quotas from mkfs with '-O squota'

There is some complication around handling enable_gen while still
counting the root node of an fs. To handle this, employ a hack of doing
a no-op write on the root node to bump its generation up above that of
the qgroup enable generation, which results in counting it properly.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Boris Burkov <boris@bur.io>
Signed-off-by: David Sterba <dsterba@suse.com>
2023-10-03 01:11:55 +02:00
..
common.c btrfs-progs: mkfs: convert int to bool in a few helpers 2023-07-27 14:45:29 +02:00
common.h btrfs-progs: mkfs: convert int to bool in a few helpers 2023-07-27 14:45:29 +02:00
main.c btrfs-progs: mkfs: add support for squota 2023-10-03 01:11:55 +02:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
rootdir.c btrfs-progs: mkfs: more verbose output for --rootdir 2023-05-26 22:17:33 +02:00
rootdir.h btrfs-progs: mkfs: more verbose output for --rootdir 2023-05-26 22:17:33 +02:00