diff options
| author | Liu Bo <bo.li.liu@oracle.com> | 2017-10-23 23:02:54 -0600 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2018-01-22 16:08:10 +0100 |
| commit | 9f5316c17b0833c606b94d91beb6518c2e8a8012 (patch) | |
| tree | b8dfd6d916f24932ea15fd6c91dc7e17c119847b /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | Btrfs: remove redundant btrfs_balance_delayed_items (diff) | |
| download | linux-9f5316c17b0833c606b94d91beb6518c2e8a8012.tar.gz linux-9f5316c17b0833c606b94d91beb6518c2e8a8012.zip | |
Btrfs: free btrfs_device in place
It's pointless to defer it to a kthread helper as we're not under a
special context.
For reference, commit 1f78160ce1b1 ("Btrfs: using rcu lock in the reader
side of devices list") introduced RCU freeing for device structures.
Originally the blkdev_put was called from free_device and rcu_barrier had
to be called. This is no longer required, bdev and our device structures
are now freed separately.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
[ enhance changelog ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions
