diff options
author | 2015-08-14 18:32:59 +0800 | |
---|---|---|
committer | 2015-10-01 17:37:34 +0200 | |
commit | 12b1c2637b6e0763121648d637ffe603b422e986 (patch) | |
tree | 92f6954c4e22915f07e481af9d1574a97b897ae6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Btrfs: add btrfs_read_dev_one_super() to read one specific SB (diff) | |
download | linux-dev-12b1c2637b6e0763121648d637ffe603b422e986.tar.xz linux-dev-12b1c2637b6e0763121648d637ffe603b422e986.zip |
Btrfs: enhance btrfs_scratch_superblock to scratch all superblocks
This patch updates and renames btrfs_scratch_superblocks, (which is used
by the replace device thread), with those fixes from the scratch
superblock code section of btrfs_rm_device(). The fixes are:
Scratch all copies of superblock
Notify kobject that superblock has been changed
Update time on the device
So that btrfs_rm_device() can use the function
btrfs_scratch_superblocks() instead of its own scratch code. And further
replace deivce code which similarly releases device back to the system,
will have the fixes from the btrfs device delete.
Signed-off-by: Anand Jain <anand.jain@oracle.com>
[renamed to btrfs_scratch_superblock]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions