linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doron Shoham <dorons@voltaire.com>
To: linux-scsi@vger.kernel.org
Subject: using direct IO with sgp_dd
Date: Tue, 11 Mar 2008 09:40:08 +0200	[thread overview]
Message-ID: <47D63758.9000601@voltaire.com> (raw)

Hi,
I wanted to use direct IO with sgp_dd.

I have done:

echo 1 > /proc/scsi/sg/allow_dio

sgp_dd if=/dev/sg1 of=/dev/null bs=512 bpt=128 thr=8 time=1 count=5M dio=1
time to transfer data was 2.236290 secs, 1200.36 MB/sec
5242880+0 records in
5242880+0 records out
Direct IO requested but incomplete 40960 times

What does it mean "Direct IO requested but incomplete 40960 times"?
And what could be the reason for this?

When using bpt smaller then 128 it doesn't happen.

Thanks,
Doron


             reply	other threads:[~2008-03-11  7:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-11  7:40 Doron Shoham [this message]
2008-03-11  8:50 ` using direct IO with sgp_dd Bart Van Assche
2008-03-11  9:12   ` Doron Shoham
2008-03-12 22:46     ` Douglas Gilbert

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=47D63758.9000601@voltaire.com \
    --to=dorons@voltaire.com \
    --cc=linux-scsi@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).