Re: [PATCH] btrfs/303: use quota rescan wrapper

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Fri, Dec 1, 2023 at 9:08 PM Boris Burkov <boris@xxxxxx> wrote:
>
> This new test called quota rescan directly rather than with the new
> wrapper. As a result, it failed with -O squota in MKFS_OPTIONS. Using
> the wrapper, it skips the rescan and passes again.
>
> Signed-off-by: Boris Burkov <boris@xxxxxx>

Reviewed-by: Filipe Manana <fdmanana@xxxxxxxx>

Looks good, thanks.

> ---
>  tests/btrfs/303 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/btrfs/303 b/tests/btrfs/303
> index b9d6c61d1..410460af5 100755
> --- a/tests/btrfs/303
> +++ b/tests/btrfs/303
> @@ -43,7 +43,7 @@ _scratch_mkfs >> $seqres.full 2>&1 || _fail "2nd mkfs failed"
>  _scratch_mount
>
>  $BTRFS_UTIL_PROG quota enable "$SCRATCH_MNT" >> $seqres.full
> -$BTRFS_UTIL_PROG quota rescan -w "$SCRATCH_MNT" >> $seqres.full
> +_qgroup_rescan $SCRATCH_MNT >> $seqres.full
>
>  # Create a qgroup for the first subvolume, this would make the later
>  # subvolume creation to find an existing qgroup, and abort transaction.
> --
> 2.42.0
>
>





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux