Add UNPLUG traces to all appropriate places
Added blk_unplug interface, allowing all invocations of unplugs to result in a generated blktrace UNPLUG. Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
This commit is contained in:
committed by
Jens Axboe
parent
d85532ed28
commit
2ad8b1ef11
@@ -1000,8 +1000,7 @@ void dm_table_unplug_all(struct dm_table *t)
|
||||
struct dm_dev *dd = list_entry(d, struct dm_dev, list);
|
||||
struct request_queue *q = bdev_get_queue(dd->bdev);
|
||||
|
||||
if (q->unplug_fn)
|
||||
q->unplug_fn(q);
|
||||
blk_unplug(q);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user