All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs/099: Fix qgroupid issue
@ 2021-12-01 14:46 An Long
  2021-12-05 13:59 ` Eryu Guan
  0 siblings, 1 reply; 2+ messages in thread
From: An Long @ 2021-12-01 14:46 UTC (permalink / raw)
  To: fstests; +Cc: An Long

The qgroup commands now accepts the level/id format. Use 0/subvolid to
avoid invalid qgroupid error.

Signed-off-by: An Long <lan@suse.com>
---
 tests/btrfs/099 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/btrfs/099 b/tests/btrfs/099
index 375cc2b9..f3a2002a 100755
--- a/tests/btrfs/099
+++ b/tests/btrfs/099
@@ -29,7 +29,7 @@ _scratch_mount
 _require_fs_space $SCRATCH_MNT $(($FILESIZE * 2 / 1024))
 
 _run_btrfs_util_prog quota enable $SCRATCH_MNT
-_run_btrfs_util_prog qgroup limit $FILESIZE 5 $SCRATCH_MNT
+_run_btrfs_util_prog qgroup limit $FILESIZE 0/5 $SCRATCH_MNT
 
 # loop 5 times without sync to ensure reserved space leak will happen
 for i in `seq 1 5`; do
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] btrfs/099: Fix qgroupid issue
  2021-12-01 14:46 [PATCH] btrfs/099: Fix qgroupid issue An Long
@ 2021-12-05 13:59 ` Eryu Guan
  0 siblings, 0 replies; 2+ messages in thread
From: Eryu Guan @ 2021-12-05 13:59 UTC (permalink / raw)
  To: An Long; +Cc: fstests

On Wed, Dec 01, 2021 at 10:46:10PM +0800, An Long wrote:
> The qgroup commands now accepts the level/id format. Use 0/subvolid to
> avoid invalid qgroupid error.
> 
> Signed-off-by: An Long <lan@suse.com>

Thanks for the fix! But this has been fixed by commit e4746f0dcd1e
("btrfs/099: use the qgroupid for qgroup limit"), would you please pull
the latest code and check if that fixes the issue for you?

Thanks,
Eryu

P.S.

Please also cc btrfs list in future for btrfs-specific patches.
Similarly for patches for other filesystems.

> ---
>  tests/btrfs/099 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/btrfs/099 b/tests/btrfs/099
> index 375cc2b9..f3a2002a 100755
> --- a/tests/btrfs/099
> +++ b/tests/btrfs/099
> @@ -29,7 +29,7 @@ _scratch_mount
>  _require_fs_space $SCRATCH_MNT $(($FILESIZE * 2 / 1024))
>  
>  _run_btrfs_util_prog quota enable $SCRATCH_MNT
> -_run_btrfs_util_prog qgroup limit $FILESIZE 5 $SCRATCH_MNT
> +_run_btrfs_util_prog qgroup limit $FILESIZE 0/5 $SCRATCH_MNT
>  
>  # loop 5 times without sync to ensure reserved space leak will happen
>  for i in `seq 1 5`; do
> -- 
> 2.31.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-05 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 14:46 [PATCH] btrfs/099: Fix qgroupid issue An Long
2021-12-05 13:59 ` Eryu Guan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.