Files
linux/fs/ext2
Jan Kara 86b0624e42 ext2: Avoid DAX zeroing to corrupt data
Currently ext2 zeroes any data blocks allocated for DAX inode however it
still returns them as BH_New. Thus DAX code zeroes them again in
dax_insert_mapping() which can possibly overwrite the data that has been
already stored to those blocks by a racing dax_io(). Avoid marking
pre-zeroed buffers as new.

Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
2016-05-17 00:44:07 -06:00
..
2016-02-22 22:35:22 -05:00
2016-05-16 18:11:51 -06:00
2016-01-22 18:04:28 -05:00
2015-02-16 17:56:03 -08:00
2016-02-22 11:56:38 -05:00
2016-02-22 22:35:22 -05:00