All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vivek Goyal <vgoyal@redhat.com>
To: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: Jens Axboe <axboe@kernel.dk>, NeilBrown <neilb@suse.de>,
	Kent Overstreet <koverstreet@google.com>,
	Philipp Reisner <philipp.reisner@linbit.com>,
	linux-kernel@vger.kernel.org, Tejun Heo <tj@kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] FLUSH/FUA documentation & code discrepancy
Date: Tue, 11 Sep 2012 10:41:02 -0400	[thread overview]
Message-ID: <20120911144102.GE12039@redhat.com> (raw)
In-Reply-To: <20120911082501.GH7028@soda.linbit>

On Tue, Sep 11, 2012 at 10:25:01AM +0200, Lars Ellenberg wrote:

[..]
> "To enforce write-after-write dependencies, you *have* to drain the
> queue (do we have a generic interface available for that?),
> or at least wait for the completion of all the requests you
> (potentially) depend upon, before even submitting the dependent request.

I think you need to wait for all previous IOs (you are dependent on) to finish.

Thanks
Vivek

WARNING: multiple messages have this Message-ID (diff)
From: Vivek Goyal <vgoyal@redhat.com>
To: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: NeilBrown <neilb@suse.de>,
	Kent Overstreet <koverstreet@google.com>,
	Jens Axboe <axboe@kernel.dk>,
	Philipp Reisner <philipp.reisner@linbit.com>,
	linux-kernel@vger.kernel.org, Tejun Heo <tj@kernel.org>,
	Christoph Hellwig <hch@lst.de>,
	drbd-dev@lists.linbit.com
Subject: Re: [Drbd-dev] FLUSH/FUA documentation & code discrepancy
Date: Tue, 11 Sep 2012 10:41:02 -0400	[thread overview]
Message-ID: <20120911144102.GE12039@redhat.com> (raw)
In-Reply-To: <20120911082501.GH7028@soda.linbit>

On Tue, Sep 11, 2012 at 10:25:01AM +0200, Lars Ellenberg wrote:

[..]
> "To enforce write-after-write dependencies, you *have* to drain the
> queue (do we have a generic interface available for that?),
> or at least wait for the completion of all the requests you
> (potentially) depend upon, before even submitting the dependent request.

I think you need to wait for all previous IOs (you are dependent on) to finish.

Thanks
Vivek

  reply	other threads:[~2012-09-13  8:26 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 12:32 [Drbd-dev] FLUSH/FUA documentation & code discrepancy Philipp Reisner
2012-09-04 12:32 ` Philipp Reisner
2012-09-04 22:46 ` [Drbd-dev] " Tejun Heo
2012-09-04 22:46   ` Tejun Heo
2012-09-05  8:44   ` [Drbd-dev] " Philipp Reisner
2012-09-05  8:44     ` Philipp Reisner
2012-09-05  8:49     ` Tejun Heo
2012-09-05  8:49       ` Tejun Heo
2012-09-05 10:07       ` Lars Ellenberg
2012-09-05 10:07         ` Lars Ellenberg
2012-09-06 21:29         ` Tejun Heo
2012-09-07  8:42           ` Lars Ellenberg
2012-09-07  8:42             ` Lars Ellenberg
2012-09-10 22:54             ` Tejun Heo
2012-09-10 22:54               ` Tejun Heo
2012-09-10 23:06               ` Tejun Heo
2012-09-10 23:06                 ` Tejun Heo
2012-09-10 23:12                 ` Kent Overstreet
2012-09-10 23:12                   ` Kent Overstreet
2012-09-10 23:31                 ` Kent Overstreet
2012-09-10 23:31                   ` Kent Overstreet
2012-09-11  5:58                   ` NeilBrown
2012-09-11  5:58                     ` NeilBrown
2012-09-11  8:25                     ` Lars Ellenberg
2012-09-11  8:25                       ` Lars Ellenberg
2012-09-11 14:41                       ` Vivek Goyal [this message]
2012-09-11 14:41                         ` Vivek Goyal
2012-09-12 18:58                       ` Tejun Heo
2012-09-12 23:12                         ` Joseph Glanville
2012-09-12 23:12                           ` Joseph Glanville
2012-09-12 23:20                           ` Tejun Heo
2012-09-12 23:20                             ` Tejun Heo
2012-09-12 23:53                             ` Joseph Glanville
2012-09-12 23:53                               ` Joseph Glanville
2012-09-13  0:17                               ` Joseph Glanville
2012-09-13  0:17                                 ` Joseph Glanville
2012-09-13  3:10                                 ` Joseph Glanville
2012-09-13  3:10                                   ` Joseph Glanville
2012-09-13 19:25                                   ` Tejun Heo
2012-09-13 19:25                                     ` Tejun Heo
2012-09-11 14:34                 ` Vivek Goyal
2012-09-11 14:34                   ` Vivek Goyal

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=20120911144102.GE12039@redhat.com \
    --to=vgoyal@redhat.com \
    --cc=axboe@kernel.dk \
    --cc=drbd-dev@lists.linbit.com \
    --cc=hch@lst.de \
    --cc=koverstreet@google.com \
    --cc=lars.ellenberg@linbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=philipp.reisner@linbit.com \
    --cc=tj@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.