]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ext4: print quota journalling mode on (re-)mount
authorRoman Anufriev <dotdot@yandex-team.ru>
Thu, 22 Oct 2020 03:21:00 +0000 (06:21 +0300)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 3 Dec 2020 14:18:48 +0000 (09:18 -0500)
commitca9b404ff137d67e559c5bd77533408bb0fa41dc
treecf7709bb1401ceda2f5bcf706f7f322e73063c33
parentf177ee0882af031b3d7a1e66e1639a58c7932dee
ext4: print quota journalling mode on (re-)mount

Right now, it is hard to understand which quota journalling type is enabled:
you need to be quite familiar with kernel code and trace it or really
understand what different combinations of fs flags/mount options lead to.

This patch adds printing of current quota jounalling mode on each
mount/remount, thus making it easier to check it at a glance/in autotests.
The semantics is similar to ext4 data journalling modes:

* journalled - quota configured, journalling will be enabled
* writeback  - quota configured, journalling won't be enabled
* none       - quota isn't configured
* disabled   - kernel compiled without CONFIG_QUOTA feature

Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/1603336860-16153-2-git-send-email-dotdot@yandex-team.ru
Signed-off-by: Roman Anufriev <dotdot@yandex-team.ru>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c