mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chetan Loke <chetanloke@gmail.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: libsas - sas_queue's policy of re-queuing all the tasks ...
Date: Wed, 23 Dec 2009 16:58:28 -0500	[thread overview]
Message-ID: <b2f3590f0912231358g798049ey2c8012ff02a956da@mail.gmail.com> (raw)

Hello,

I've a question regarding the libsas core.

So, sas_queue() will dispatch the coalesced tasks. It then invokes the
SAS_LLDD's execute_task. Let's assume mv_sas driver.In this case
mvs_task_exec(). Say, it received 'N' tasks the first time it was
called.However, the LLDD was only able to service M tasks(where M<N).
Now it will return rc(non-zero value). sas_queue will then requeue all
the tasks. But only (N-M) tasks should have been queued, correct? So
why are we re-trying all the tasks again?

PS - If folks are on SCST mailing list too then do not confuse this
post with my SCST post. There, the target maintainer can see if the
target driver has to worry about this.


Chetan Loke

             reply	other threads:[~2009-12-23 21:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-23 21:58 Chetan Loke [this message]
     [not found] ` <7fc616880912240426q249c72b1n45d488fe0e6a9770@mail.gmail.com>
2009-12-24 15:08   ` Chetan Loke

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=b2f3590f0912231358g798049ey2c8012ff02a956da@mail.gmail.com \
    --to=chetanloke@gmail.com \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®