All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Simon A. F. Lund" <simon.lund@samsung.com>
To: <axboe@kernel.dk>
Cc: <io-uring@vger.kernel.org>
Subject: [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE
Date: Tue, 28 Jan 2020 14:20:05 +0100	[thread overview]
Message-ID: <20200128132005.2234-1-simon.lund@samsung.com> (raw)
In-Reply-To: CGME20200128132022eucas1p1e94fc561550c26d2c880282fd9ad9c62@eucas1p1.samsung.com

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


       reply	other threads:[~2020-01-28 13:20 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 ` Simon A. F. Lund [this message]
2020-01-28 15:24   ` [PATCH liburing] test/read-write: fixed output, and added 'nonvec', when VERBOSE Jens Axboe

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 \
    --in-reply-to=20200128132005.2234-1-simon.lund@samsung.com \
    --to=simon.lund@samsung.com \
    --cc=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    /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 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.