From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH UPDATED] block: In blk_execute_rq_nowait, init rq->end_io before checking for dead queue. Date: Sun, 10 Jun 2012 17:40:54 +0000 Message-ID: <4FD4DC26.5080902@acm.org> References: <4FD345DC.6020405@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Muthu Kumar Cc: Jens Axboe , Tejun Heo , Jej B , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org List-Id: linux-scsi@vger.kernel.org On 06/09/12 23:57, Muthu Kumar wrote: > Locking change is the one you posted already (the link above). Anyway, > I have the attached patch *including* the locking change. Original > mail has attachment without locking change. Please use whatever you > need. While we are at it ... the rq->rq_disk and rq->end_io assignments can be performed safely before the spinlock is taken, isn't it ? Bart.