Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Zhikun Wang" <raidwang@gmail.com>
To: linux-scsi <linux-scsi@vger.kernel.org>
Subject: Calling scsi_done from queuecommand()
Date: Thu, 12 Jan 2006 11:57:48 +0800	[thread overview]
Message-ID: <200601121157417180341@gmail.com> (raw)

Hi list, 
	Can we call scsi_done() to complete the I/O from the queuecommand() ? (e.g. to make queuecommand synchronous). 
	I try this method in my LsiLogic 22320 SCSI card driver in Redhat9, and i can correctly handle read command. But Write command is stop when i call scsi_done() in the queuecommand. I am very puzzled! 
	Thanks for any answers!

Regards, 
-zkwang 



             reply	other threads:[~2006-01-12  3:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-12  3:57 Zhikun Wang [this message]
2006-01-12  7:59 ` Calling scsi_done from queuecommand() Arjan van de Ven
2006-01-12  9:47   ` Zhikun Wang

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=200601121157417180341@gmail.com \
    --to=raidwang@gmail.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