From: Alasdair G Kergon Subject: Re: [PATCH] dm-mpath: requeue I/O during pg_init Date: Tue, 5 Nov 2013 13:31:58 +0000 Message-ID: <20131105133158.GD27505@agk-dp.fab.redhat.com> References: <1380620996-110162-1-git-send-email-hare@suse.de> <20131105130221.GC27505@agk-dp.fab.redhat.com> <5278EE5F.9070208@suse.de> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <5278EE5F.9070208@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Hannes Reinecke Cc: Junichi Nomura , dm-devel@redhat.com, Mike Snitzer , Alasdair Kergon List-Id: dm-devel.ids On Tue, Nov 05, 2013 at 02:10:55PM +0100, Hannes Reinecke wrote: > If this is just a left-over from the original port to request-based > (for bio-based we _have_ to queue internally as there's no request > queue to be had), fine, we should be removing it. I think that is the case. > But there _might_ be some corner cases which require us to do internal > queueing. We *only* add I/O to the internal queue in map_io() - which can always be replaced with REQUEUE, As long as we still 'wake up' the queue immediately when we are ready to receive the I/O, I can't think of any other reason. And it would let us remove quite a bit of tricky code! > Junichi, could you share some light here? Alasdair