All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Christie <michaelc@cs.wisc.edu>
To: Ilya Dryomov <idryomov@gmail.com>
Cc: Ronny Hegewald <ronny.hegewald@online.de>,
	Ceph Development <ceph-devel@vger.kernel.org>,
	Sage Weil <sage@redhat.com>, Alex Elder <elder@kernel.org>
Subject: Re: [PATCH] mark rbd requiring stable pages
Date: Thu, 22 Oct 2015 10:37:55 -0500	[thread overview]
Message-ID: <562902D3.7040501@cs.wisc.edu> (raw)
In-Reply-To: <CAOi1vP_e1aY4zMyYgRLy=D+jBs44g9++0VKutRm7D6q0OALJ3Q@mail.gmail.com>

On 10/22/2015 06:20 AM, Ilya Dryomov wrote:
> 
>> >
>> > If we are just talking about if stable pages are not used, and someone
>> > is re-writing data to a page after the page has already been submitted
>> > to the block layer (I mean the page is on some bio which is on a request
>> > which is on some request_queue scheduler list or basically anywhere in
>> > the block layer), then I was saying this can occur with any block
>> > driver. There is nothing that is preventing this from happening with a
>> > FC driver or nvme or cciss or in dm or whatever. The app/user can
>> > rewrite as late as when we are in the make_request_fn/request_fn.
>> >
>> > I think I am misunderstanding your question because I thought this is
>> > expected behavior, and there is nothing drivers can do if the app is not
>> > doing a flush/sync between these types of write sequences.
> I don't see a problem with rewriting as late as when we are in
> request_fn() (or in a wq after being put there by request_fn()).  Where
> I thought there *might* be an issue is rewriting after sendpage(), if
> sendpage() is used - perhaps some sneaky sequence similar to that
> retransmit bug that would cause us to *transmit* incorrect bytes (as
> opposed to *re*transmit) or something of that nature?


Just to make sure we are on the same page.

Are you concerned about the tcp/net layer retransmitting due to it
detecting a issue as part of the tcp protocol, or are you concerned
about rbd/libceph initiating a retry like with the nfs issue?

  reply	other threads:[~2015-10-22 15:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-15 18:50 [PATCH] mark rbd requiring stable pages Ronny Hegewald
2015-10-16 11:09 ` Ilya Dryomov
2015-10-21 20:51   ` Ilya Dryomov
2015-10-21 20:57     ` Ilya Dryomov
2015-10-22  4:07       ` Mike Christie
2015-10-22 11:20         ` Ilya Dryomov
2015-10-22 15:37           ` Mike Christie [this message]
2015-10-22 16:52             ` Ilya Dryomov
2015-10-22 17:22               ` Mike Christie
2015-10-22 18:07                 ` Ilya Dryomov
2015-10-23  0:52                 ` Ronny Hegewald
2015-10-22 23:56           ` Ronny Hegewald
2015-10-23  8:32             ` Ilya Dryomov
2015-10-23 19:00               ` Aw: " ronny.hegewald
2015-10-23 19:06                 ` Ilya Dryomov
2015-10-30 11:36                   ` Ilya Dryomov

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=562902D3.7040501@cs.wisc.edu \
    --to=michaelc@cs.wisc.edu \
    --cc=ceph-devel@vger.kernel.org \
    --cc=elder@kernel.org \
    --cc=idryomov@gmail.com \
    --cc=ronny.hegewald@online.de \
    --cc=sage@redhat.com \
    /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.