Re: [PATCH]btrfs-progs: Add fast,slow symlinks and fifo types to convert test

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

 



On Thu, Sep 15, 2016 at 11:34:07AM +0200, Lakshmipathi.G wrote:
> +		slow_symlink)
> +			for num in $(seq 1 $DATASET_SIZE); do
> +				fname64=`date +%s | sha256sum | cut -f1 -d'-'`

Do you need to generate the date and sha all the time?

> +				run_check $SUDO_HELPER touch $dirpath/$fname64
> +				run_check $SUDO_HELPER ln -s $dirpath/$fname64 $dirpath/slow_slink.$num
> +			done
> +			;;
>  	esac
>  }
>  
>  populate_fs() {
>  
> -        for dataset_type in 'small' 'hardlink' 'symlink' 'brokenlink' 'perm' 'sparse' 'acls'; do
> +        for dataset_type in 'small' 'hardlink' 'fast_symlink' 'brokenlink' 'perm' 'sparse' 'acls' 'fifo' 'slow_symlink'; do
>  		generate_dataset "$dataset_type"
>  	done
>  }
> -- 
> 1.9.3
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux