All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Wang <liwang@ubuntukylin.com>
To: "ceph-devel@vger.kernel.org" <ceph-devel@vger.kernel.org>
Cc: Sage Weil <sage@inktank.com>
Subject: Waiters on OSD operations will hang if replies invalid?
Date: Thu, 07 Nov 2013 11:08:24 +0800	[thread overview]
Message-ID: <527B0428.7090306@ubuntukylin.com> (raw)

For ceph_sync_write()/ceph_osdc_readpages()/ceph_osdc_writepages(), the 
user process or kernel thread will
wait for the pending OSD requests to complete on the corresponding 
req->r_completion. But it seems they only are waked up in handle_reply() 
and provided the replies are correct. What about if the replies are 
invalid, as the situations of label 'bad_put' in this function intended 
to capture, the waiters gotta hang there?

             reply	other threads:[~2013-11-07  3:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-07  3:08 Li Wang [this message]
     [not found] ` <527D96BC.3020502@ubuntukylin.com>
2013-11-09  6:06   ` Fwd: Waiters on OSD operations will hang if replies invalid? Sage Weil

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=527B0428.7090306@ubuntukylin.com \
    --to=liwang@ubuntukylin.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=sage@inktank.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.