diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2007-11-07 20:26:56 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-11-09 13:41:32 +0100 |
commit | 2ad8b1ef11c98c5603580878aebf9f1bc74129e4 (patch) | |
tree | f7bdc2484513f6ffd174b1385bb216dcf97d2c78 /drivers/md/dm-table.c | |
parent | block: fix requeue handling in blk_queue_invalidate_tags() (diff) | |
download | linux-2ad8b1ef11c98c5603580878aebf9f1bc74129e4.tar.xz linux-2ad8b1ef11c98c5603580878aebf9f1bc74129e4.zip |
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>
Diffstat (limited to 'drivers/md/dm-table.c')
-rw-r--r-- | drivers/md/dm-table.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index 5a7eb650181e..e298d8d11f24 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -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); } } |