summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-09-30 01:03:17 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-09-30 01:03:17 -0400
commit16c54688592ce8eea85d2a26d37b64fa07e3e233 (patch)
tree9c8b9ce94df5b69a6c1befcc735f9ba665b6cba2 /Kbuild
parentcca32b7eeb4ea24fa6596650e06279ad9130af98 (diff)
ext4: Allow parallel DIO reads
We can easily support parallel direct IO reads. We only have to make sure we cannot expose uninitialized data by reading allocated block to which data was not written yet, or which was already truncated. That is easily achieved by holding inode_lock in shared mode - that excludes all writes, truncates, hole punches. We also have to guard against page writeback allocating blocks for delay-allocated pages - that race is handled by the fact that we writeback all the pages in the affected range and the lock protects us from new pages being created there. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions