]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/ext4/extents.c
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)
commitc86d8db33a922da808a5560aa15ed663a9569b37
tree64ee357906cb5d2a0408a9613532460e49b7b6c9
parent53085fac02d12fcd29a9cb074ec480ff0f77ae5c
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