[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <44BBAC0B.4020602@steeleye.com>
Date: Mon, 17 Jul 2006 11:26:03 -0400
From: Paul Clements <paul.clements@...eleye.com>
To: Michal Feix <michal.feix@...ma.seznam.cz>
CC: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nbd: Abort request on data reception failure
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists