public inbox for [email protected]
 help / color / mirror / Atom feed
From: Jens Axboe <[email protected]>
To: "Simon A. F. Lund" <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE
Date: Tue, 28 Jan 2020 08:24:22 -0700	[thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>

On 1/28/20 6:20 AM, Simon A. F. Lund wrote:
> Signed-off-by: Simon A. F. Lund <[email protected]>
> ---
>  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


      reply	other threads:[~2020-01-28 15:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox