Searched hist:e33e17ee1098d8d751552ac11c111e1c1a3db014 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | transaction.h | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | free-space-cache.c | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | super.c | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | transaction.c | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | ctree.h | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|
H A D | extent-tree.c | diff e33e17ee1098d8d751552ac11c111e1c1a3db014 Mon Jun 15 08:41:19 CDT 2015 Jeff Mahoney <jeffm@suse.com> btrfs: add missing discards when unpinning extents with -o discard
When we clear the dirty bits in btrfs_delete_unused_bgs for extents in the empty block group, it results in btrfs_finish_extent_commit being unable to discard the freed extents.
The block group removal patch added an alternate path to forget extents other than btrfs_finish_extent_commit. As a result, any extents that would be freed when the block group is removed aren't discarded. In my test run, with a large copy of mixed sized files followed by removal, it left nearly 2/3 of extents undiscarded.
To clean up the block groups, we add the removed block group onto a list that will be discarded after transaction commit.
Signed-off-by: Jeff Mahoney <jeffm@suse.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Tested-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Chris Mason <clm@fb.com>
|