lkml.org 
[lkml]   [2015]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: Refine blk_abort_request() documentation
On 05/11/2015 07:44 AM, Christoph Hellwig wrote:
> On Mon, May 11, 2015 at 01:20:00PM +0200, Bart Van Assche wrote:
>> Document when it is safe to call this function for blk-mq queues.
>
> Maybe we should move the queue_lock acquisition into blk_abort_request
> for the !blk-mq case? libata and libsas already take it just around the
> call, an the usage in the dasd driver looks like it only needs
> the queue_lock for the blk_abort_request call as well.

I think so.


--
Jens Axboe



\
 
 \ /
  Last update: 2015-05-11 19:41    [W:0.036 / U:4.940 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site