ext4: use pre-zeroed blocks for DAX page faults
authorJan Kara <jack@suse.com>
Mon, 7 Dec 2015 20:10:44 +0000 (15:10 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 7 Dec 2015 20:10:44 +0000 (15:10 -0500)
commitba5843f51d468644b094674c0317c9ab95632caa
treee2ab7e39a4eff12af5bc9f2b14dafc0f08731727
parentc86d8db33a922da808a5560aa15ed663a9569b37
ext4: use pre-zeroed blocks for DAX page faults

Make DAX fault path use pre-zeroed blocks to avoid races with extent
conversion and zeroing when two page faults to the same block happen.

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