Re: [PATCH] btrfs/048: fix test failure when fs mounted with v2 space cache option

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




On 5.09.19 г. 18:37 ч., fdmanana@xxxxxxxxxx wrote:
> From: Filipe Manana <fdmanana@xxxxxxxx>
> 
> In order to check that the filesystem generation does not change after
> failure to set a property, the test expects a specific generation number
> of 7 in its golden output. That currently works except when using the
> v2 space cache mount option (MOUNT_OPTIONS="-o space_cache=v2"), since
> the filesystem generation is 8 because creating a v2 space cache adds
> an additional transaction commit. So update the test to not hardcode
> specific generation numbers in its golden output and just output an
> unexpected message if the generation number changes.
> 
> Signed-off-by: Filipe Manana <fdmanana@xxxxxxxx>

Reviewed-by: Nikolay Borisov <nborisov@xxxxxxxx>




[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