From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261407AbVENP0u (ORCPT ); Sat, 14 May 2005 11:26:50 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261402AbVENP0t (ORCPT ); Sat, 14 May 2005 11:26:49 -0400 Received: from stat16.steeleye.com ([209.192.50.48]:13707 "EHLO hancock.sc.steeleye.com") by vger.kernel.org with ESMTP id S261401AbVENP0m (ORCPT ); Sat, 14 May 2005 11:26:42 -0400 Subject: Re: [PATCH scsi-misc-2.6 04/04] scsi: remove unnecessary scsi_wait_req_end_io() From: James Bottomley To: Tejun Heo Cc: Jens Axboe , Christoph Hellwig , SCSI Mailing List , Linux Kernel In-Reply-To: <20050514135610.50606F9C@htj.dyndns.org> References: <20050514135610.81030F26@htj.dyndns.org> <20050514135610.50606F9C@htj.dyndns.org> Content-Type: text/plain Date: Sat, 14 May 2005 11:26:23 -0400 Message-Id: <1116084383.5049.18.camel@mulgrave> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2005-05-14 at 22:57 +0900, Tejun Heo wrote: > As all requests are now terminated via scsi midlayer, we don't > need to set end_io for special reqs, remove it. This statement is untrue as long as the prep function can return BLKPREP_KILL, which it still does even after your patch set, so the scsi_wait_req_end_io() is still necessary to catch this case. James