diff options
author | Jeff Moyer <jmoyer@redhat.com> | 2020-02-05 14:15:58 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-02-05 20:34:32 -0800 |
commit | 96222d53842dfe54869ec4e1b9d4856daf9105a2 (patch) | |
tree | 6e7f78500a7eddd4910b3246902f1a61fd2c1d07 /fs/ext4/file.c | |
parent | f01b16a85bfae2e6b4f32de0a1f37ac4050dc316 (diff) | |
download | linux-96222d53842dfe54869ec4e1b9d4856daf9105a2.tar.bz2 |
dax: pass NOWAIT flag to iomap_apply
fstests generic/471 reports a failure when run with MOUNT_OPTIONS="-o
dax". The reason is that the initial pwrite to an empty file with the
RWF_NOWAIT flag set does not return -EAGAIN. It turns out that
dax_iomap_rw doesn't pass that flag through to iomap_apply.
With this patch applied, generic/471 passes for me.
Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/x49r1z86e1d.fsf@segfault.boston.devel.redhat.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/ext4/file.c')
0 files changed, 0 insertions, 0 deletions