All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE
       [not found] <CGME20200128132022eucas1p1e94fc561550c26d2c880282fd9ad9c62@eucas1p1.samsung.com>
@ 2020-01-28 13:20 ` Simon A. F. Lund
  2020-01-28 15:24   ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Simon A. F. Lund @ 2020-01-28 13:20 UTC (permalink / raw)
  To: axboe; +Cc: io-uring

Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
---
 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);
-- 
2.20.1


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

* Re: [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE
  2020-01-28 13:20 ` [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE Simon A. F. Lund
@ 2020-01-28 15:24   ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2020-01-28 15:24 UTC (permalink / raw)
  To: Simon A. F. Lund; +Cc: io-uring

On 1/28/20 6:20 AM, Simon A. F. Lund wrote:
> Signed-off-by: Simon A. F. Lund <simon.lund@samsung.com>
> ---
>  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


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

end of thread, other threads:[~2020-01-28 15:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20200128132022eucas1p1e94fc561550c26d2c880282fd9ad9c62@eucas1p1.samsung.com>
2020-01-28 13:20 ` [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE Simon A. F. Lund
2020-01-28 15:24   ` Jens Axboe

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.