diff options
author | 2016-11-20 17:32:59 -0500 | |
---|---|---|
committer | 2016-11-20 17:32:59 -0500 | |
commit | a3caa24b703794507bf2e0a68bdc800b90f5e70b (patch) | |
tree | b133b0f2c3a4e61904a2be8a97b1dd63617453fe /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | ext4: factor out checks from ext4_file_write_iter() (diff) | |
download | linux-dev-a3caa24b703794507bf2e0a68bdc800b90f5e70b.tar.xz linux-dev-a3caa24b703794507bf2e0a68bdc800b90f5e70b.zip |
ext4: only set S_DAX if DAX is really supported
Currently we have S_DAX set inode->i_flags for a regular file whenever
ext4 is mounted with dax mount option. However in some cases we cannot
really do DAX - e.g. when inode is marked to use data journalling, when
inode data is being encrypted, or when inode is stored inline. Make sure
S_DAX flag is appropriately set/cleared in these cases.
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions