]> Git Repo - linux.git/commit
btrfs: remove remaing full_sync logic from btrfs_sync_file
authorDavid Sterba <[email protected]>
Thu, 19 Jul 2018 13:27:46 +0000 (15:27 +0200)
committerDavid Sterba <[email protected]>
Mon, 6 Aug 2018 11:12:31 +0000 (13:12 +0200)
commitca5788aba3e8153da38cf99ca3ce2294f032fb51
tree49bdbfdb3c70b07901213c225e6380ec63a6e696
parent5636cf7d6dc86f47fd66757dae088e35014da464
btrfs: remove remaing full_sync logic from btrfs_sync_file

The logic to check if the inode is already in the log can now be
simplified since we always wait for the ordered extents to complete
before deciding whether the inode needs to be logged. The big comment
about it can go away too.

CC: Filipe Manana <[email protected]>
Suggested-by: Filipe Manana <[email protected]>
[ code and changelog copied from mail discussion ]
Signed-off-by: David Sterba <[email protected]>
fs/btrfs/file.c
fs/btrfs/ordered-data.c
fs/btrfs/ordered-data.h
This page took 0.053214 seconds and 4 git commands to generate.