btrfs-progs: qgroup: add sync option to 'qgroup show'
authorTsutomu Itoh <t-itoh@jp.fujitsu.com>
Thu, 15 Dec 2016 04:29:28 +0000 (13:29 +0900)
committerDavid Sterba <dsterba@suse.com>
Wed, 25 Jan 2017 08:48:33 +0000 (09:48 +0100)
commitbd1ac1fb1d33188eaa7834af215e78ab41166d7a
tree7f465de131f9e9b5554e731bb49d1c3db1aeb67f
parent6b62b7647041d1b42c8e899d6f104805b93dad49
btrfs-progs: qgroup: add sync option to 'qgroup show'

The 'qgroup show' command does not synchronize filesystem.
Therefore, 'qgroup show' may not display the correct value unless
synchronized with 'filesystem sync' command etc.

So add the '--sync' option so that we can choose whether or not
to synchronize when executing the command.

Signed-off-by: Tsutomu Itoh <t-itoh@jp.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Documentation/btrfs-qgroup.asciidoc
cmds-qgroup.c