aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/btrfs/reada.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fb.com>2018-05-23 11:58:34 -0400
committerDavid Sterba <dsterba@suse.com>2018-08-06 13:12:30 +0200
commite7175a692765940f3ac3f0c005b9a766a59303d7 (patch)
tree4be2cd6437bfbcf73930f122e05d89a04ee3ffcc /fs/btrfs/reada.c
parentbtrfs: always wait on ordered extents at fsync time (diff)
downloadwireguard-linux-e7175a692765940f3ac3f0c005b9a766a59303d7.tar.xz
wireguard-linux-e7175a692765940f3ac3f0c005b9a766a59303d7.zip
btrfs: remove the wait ordered logic in the log_one_extent path
Since we are waiting on all ordered extents at the start of the fsync() path we don't need to wait on any logged ordered extents, and we don't need to look up the checksums on the ordered extents as they will already be on disk prior to getting here. Rework this so we're only looking up and copying the on-disk checksums for the extent range we care about. Signed-off-by: Josef Bacik <jbacik@fb.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/reada.c')
0 files changed, 0 insertions, 0 deletions