From: Paul Clements <paul.clements@steeleye.com>
To: Michal Feix <michal.feix@firma.seznam.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nbd: Abort request on data reception failure
Date: Mon, 17 Jul 2006 11:26:03 -0400 [thread overview]
Message-ID: <44BBAC0B.4020602@steeleye.com> (raw)
In-Reply-To: <44BA3C58.5080708@firma.seznam.cz>
Michal Feix wrote:
> When reading from nbd device, we need to receive all the data after
> receiving reply packet from the server - otherwise such request will
> never be ended.
>
> If socket is closed right after accepting reply control packet and in
> the middle of waiting for read data, nbd_read_stat() returns NULL and
> nbd_end_request() is not called.
That's right. We can't return NULL after pulling the request off the queue.
Thanks,
Paul
prev parent reply other threads:[~2006-07-17 15:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-16 13:17 [PATCH] nbd: Abort request on data reception failure Michal Feix
2006-07-17 15:26 ` Paul Clements [this message]
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=44BBAC0B.4020602@steeleye.com \
--to=paul.clements@steeleye.com \
--cc=linux-kernel@vger.kernel.org \
--cc=michal.feix@firma.seznam.cz \
/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