mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
3fdb2899df
Command "quota enable" triggers a quota rescan, but it can finish quick in some machines leading to the next command "quota rescan" to be able to start scanning again, and then printing "quota rescan started" making the test fail. In some machines this don't happen because the first rescan initiated by "quota enable" is still running when "quota rescan" is executed, returning -EINPROGRESS from ioctl BTRFS_IOC_QUOTA_RESCAN_STATUS and not printing the message. Ignoring any output from "quota rescan" solves the issue in both cases, and this is already being done by others tests as well. Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>