All of lore.kernel.org
 help / color / mirror / Atom feed
From: haris iqbal <haris.phnx at gmail.com>
To: spdk@lists.01.org
Subject: [SPDK] Confusion about in_submit_request for a bdev_io object
Date: Wed, 07 Aug 2019 10:55:56 -0400	[thread overview]
Message-ID: <CAE_WKMxnFzawSFierS0zUS1yinWX_874vaWf9hwF1ADk8xev2A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

Hi,

I was looking into the bdev IO code path, and found this
in_submit_request flag, which seems to have been set every time we do
an IO submission, which makes sense considering the name of the flag.

But, in the function _spdk_bdev_io_submit(), the flag
in_submit_request is being set before the conditional "if" statement,
and depending on the conditions of the statement, it can also call
*_io_complete(). So, should the flag in_submit_request be set to true,
while called the *_io_complete() function here?

Also, can someone shed some more light on the significance of this
in_submit_request flag.

-- 

With regards,

Md Haris Iqbal,
Contact: +91 8861996962

             reply	other threads:[~2019-08-07 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-07 14:55 haris iqbal [this message]
2019-08-07 21:59 [SPDK] Confusion about in_submit_request for a bdev_io object Harris, James R

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=CAE_WKMxnFzawSFierS0zUS1yinWX_874vaWf9hwF1ADk8xev2A@mail.gmail.com \
    --to=spdk@lists.01.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.