diff options
author | Alan D. Brunelle <Alan.Brunelle@hp.com> | 2007-11-07 19:26:56 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-11-09 12:41:32 (GMT) |
commit | 2ad8b1ef11c98c5603580878aebf9f1bc74129e4 (patch) | |
tree | f7bdc2484513f6ffd174b1385bb216dcf97d2c78 /drivers/md/raid10.c | |
parent | d85532ed284e63b5c56eaf2418f262822af60be4 (diff) | |
download | linux-2ad8b1ef11c98c5603580878aebf9f1bc74129e4.tar.xz |
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/raid10.c')
-rw-r--r-- | drivers/md/raid10.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/raid10.c b/drivers/md/raid10.c index fc6607a..5cdcc93 100644 --- a/drivers/md/raid10.c +++ b/drivers/md/raid10.c @@ -593,8 +593,7 @@ static void unplug_slaves(mddev_t *mddev) atomic_inc(&rdev->nr_pending); rcu_read_unlock(); - if (r_queue->unplug_fn) - r_queue->unplug_fn(r_queue); + blk_unplug(r_queue); rdev_dec_pending(rdev, mddev); rcu_read_lock(); |