/openbmc/linux/fs/btrfs/ |
H A D | ordered-data.h | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | dev-replace.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | ordered-data.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | relocation.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | super.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | transaction.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | ioctl.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|
H A D | extent-tree.c | diff 578def7c50f236432ba140d35bb7ca4ef0a1b20b Tue Apr 26 09:36:38 CDT 2016 Filipe Manana <fdmanana@suse.com> Btrfs: don't wait for unrelated IO to finish before relocation
Before the relocation process of a block group starts, it sets the block group to readonly mode, then flushes all delalloc writes and then finally it waits for all ordered extents to complete. This last step includes waiting for ordered extents destinated at extents allocated in other block groups, making us waste unecessary time.
So improve this by waiting only for ordered extents that fall into the block group's range.
Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
|