Re: [PATCH] btrfs-progs: qgroup: Fix a bug that fails to skip rescan running case

2016-06-17 Thread David Sterba
On Thu, Jun 16, 2016 at 09:15:51AM +0800, Qu Wenruo wrote: > Commit 6bdf962fe35a8648d(btrfs-progs: Read qgroup status for qgroup > verify) will read qgroup status, and then use it to skip qgroup > reporting. > > However since the rescan_running/inconsistent flags are only 1 bit long, > while

[PATCH] btrfs-progs: qgroup: Fix a bug that fails to skip rescan running case

2016-06-15 Thread Qu Wenruo
Commit 6bdf962fe35a8648d(btrfs-progs: Read qgroup status for qgroup verify) will read qgroup status, and then use it to skip qgroup reporting. However since the rescan_running/inconsistent flags are only 1 bit long, while qgroup flags & BTRFS_QGROUP_FLAGS returns value longer than 1bit, it