]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: implement allocation of pre-zeroed blocks
authorJan Kara <jack@suse.com>
Mon, 7 Dec 2015 20:10:26 +0000 (15:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Dec 2015 20:10:26 +0000 (15:10 -0500)
commit5463f0dc99b1f0e9ebec91cf9928dec37e253077
tree64ee357906cb5d2a0408a9613532460e49b7b6c9
parent1c39df77c7ea1c41da5d361c1d16db7ba237c299
ext4: implement allocation of pre-zeroed blocks

DAX page fault path needs to get blocks that are pre-zeroed to avoid
races when two concurrent page faults happen in the same block of a
file. Implement support for this in ext4_map_blocks().

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/extents.c
fs/ext4/inode.c
include/trace/events/ext4.h