diff options
| author | Toshi Kani <[email protected]> | 2018-09-14 14:51:14 +0000 |
|---|---|---|
| committer | Jan Kara <[email protected]> | 2018-09-19 13:03:04 +0000 |
| commit | 9e796c9db93b4840d1b00e550eea26db7cb741e2 (patch) | |
| tree | 959d3634e09dd62573a27aac97e751658972257d /drivers/scsi/mpt3sas/mpi/mpi2_raid.h | |
| parent | Merge tag 'trace-v4.19-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff) | |
| download | kernel-9e796c9db93b4840d1b00e550eea26db7cb741e2.tar.gz kernel-9e796c9db93b4840d1b00e550eea26db7cb741e2.zip | |
ext2, dax: set ext2_dax_aops for dax files
Sync syscall to DAX file needs to flush processor cache, but it
currently does not flush to existing DAX files. This is because
'ext2_da_aops' is set to address_space_operations of existing DAX
files, instead of 'ext2_dax_aops', since S_DAX flag is set after
ext2_set_aops() in the open path.
Similar to ext4, change ext2_iget() to initialize i_flags before
ext2_set_aops().
Fixes: fb094c90748f ("ext2, dax: introduce ext2_dax_aops")
Signed-off-by: Toshi Kani <[email protected]>
Suggested-by: Jan Kara <[email protected]>
Cc: Jan Kara <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: "Theodore Ts'o" <[email protected]>
Cc: Andreas Dilger <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions
