commit | c3d98e39d5b37320b15f227686575d58f676e6ef | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed May 11 11:58:52 2016 +0200 |
committer | Vishal Verma <vishal.l.verma@intel.com> | Tue May 17 00:44:09 2016 -0600 |
tree | 2e221bb403db75da6a40c70919f82ad492315e53 | |
parent | 069c77bc9eaee70fa9ecbd942372b1693b8cdeb0 [diff] |
dax: Remove pointless writeback from dax_do_io() dax_do_io() is calling filemap_write_and_wait() if DIO_LOCKING flags is set. Presumably this was copied over from direct IO code. However DAX inodes have no pagecache pages to write so the call is pointless. Remove it. 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>