Re: [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE

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

 



On 1/28/20 6:20 AM, Simon A. F. Lund wrote:
> Signed-off-by: Simon A. F. Lund <simon.lund@xxxxxxxxxxx>
> ---
>  test/read-write.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/test/read-write.c b/test/read-write.c
> index face66b..64f8fd5 100644
> --- a/test/read-write.c
> +++ b/test/read-write.c
> @@ -62,9 +62,10 @@ static int test_io(const char *file, int write, int buffered, int sqthread,
>  	static int warned;
>  
>  #ifdef VERBOSE
> -	fprintf(stdout, "%s: start %d/%d/%d/%d/%d: ", __FUNCTION__, write,
> +	fprintf(stdout, "%s: start %d/%d/%d/%d/%d/%d: ", __FUNCTION__, write,
>  							buffered, sqthread,
> -							fixed, mixed_fixed);
> +							fixed, mixed_fixed,
> +							nonvec);
>  #endif
>  	if (sqthread && geteuid()) {
>  #ifdef VERBOSE
> @@ -212,7 +213,7 @@ static int test_io(const char *file, int write, int buffered, int sqthread,
>  	return 0;
>  err:
>  #ifdef VERBOSE
> -	print("FAILED\n");
> +	printf("FAILED\n");
>  #endif
>  	if (fd != -1)
>  		close(fd);

Applied, thanks.

-- 
Jens Axboe




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux