Skip to content
Commit 4038acdb authored by Al Viro's avatar Al Viro
Browse files

consistent treatment of EFAULT on O_DIRECT read/write



Make local filesystems treat a fault as shortened IO,
returning -EFAULT only if nothing had been transferred.
That's how everything else (NFS, FUSE, ceph, Lustre)
behaves.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 08895a8b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment