commit | 5f008163a559d566a0ee1190a0a24f3eec6f1ea7 | [log] [tgz] |
---|---|---|
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | Wed Dec 04 05:58:53 2019 -0600 |
committer | David Sterba <dsterba@suse.com> | Thu May 28 14:01:52 2020 +0200 |
tree | 3abd629b4cffb4de245510594da552116656f172 | |
parent | b75b7ca7c27dfd61dba368f390b7d4dc20b3a8cb [diff] |
btrfs: remove BTRFS_INODE_READDIO_NEED_LOCK Since we now perform direct reads using i_rwsem, we can remove this inode flag used to co-ordinate unlocked reads. The truncate call takes i_rwsem. This means it is correctly synchronized with concurrent direct reads. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Reviewed-by: Johannes Thumshirn <jth@kernel.org> Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>