search for: abort_queue_fn

Displaying 2 results from an estimated 2 matches for "abort_queue_fn".

2012 May 21
6
[RFC PATCH 1/5] block: Introduce q->abort_queue_fn()
...3 files changed, 18 insertions(+) diff --git a/block/blk-core.c b/block/blk-core.c index 1f61b74..ca42fd7 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -369,6 +369,9 @@ void blk_drain_queue(struct request_queue *q, bool drain_all) if (drain_all) blk_throtl_drain(q); + if (q->abort_queue_fn) + q->abort_queue_fn(q); + /* * This function might be called on a queue which failed * driver init after queue creation. Some drivers diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc..83ccb48 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -10...
2012 May 21
6
[RFC PATCH 1/5] block: Introduce q->abort_queue_fn()
...3 files changed, 18 insertions(+) diff --git a/block/blk-core.c b/block/blk-core.c index 1f61b74..ca42fd7 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -369,6 +369,9 @@ void blk_drain_queue(struct request_queue *q, bool drain_all) if (drain_all) blk_throtl_drain(q); + if (q->abort_queue_fn) + q->abort_queue_fn(q); + /* * This function might be called on a queue which failed * driver init after queue creation. Some drivers diff --git a/block/blk-settings.c b/block/blk-settings.c index d3234fc..83ccb48 100644 --- a/block/blk-settings.c +++ b/block/blk-settings.c @@ -10...