[PATCH 0/2] Removing aio_write from NTFS

From: anton
Date: Wed Mar 11 2015 - 10:43:59 EST

From: Anton Altaparmakov <anton@xxxxxxxxxx>

Hi Al,

As you requested at LSF, these two patches change NTFS from aio_write to

I know you were sceptical about the addition of a multi page fault in function
but please take a look at my patches and see if it is acceptable. If not,
let me know and I will do it inside NTFS itself without introducing a generic

If you are happy with the patches, please feel free to send them onto Linus
or let me know to send them myself.

Note you can also pull the patches from:


Best regards,


Anton Altaparmakov (2):
VFS: Add iov_iter_fault_in_multipages_readable() which is simillar to
iov_iter_fault_in_readable() but differs in that it is not
limited to faulting in the first iovec and instead faults in
"bytes" bytes iterating over the iovecs as necessary.
NTFS: Version 2.1.32 - Update file write from aio_write to write_iter.

fs/ntfs/Makefile | 2 +-
fs/ntfs/file.c | 783 ++++++++++++++++++++--------------------------------
include/linux/uio.h | 1 +
mm/iov_iter.c | 26 ++
4 files changed, 335 insertions(+), 477 deletions(-)

Anton Altaparmakov <anton at tuxera.com> (replace at with @)
Lead in File System Development, Tuxera Inc., http://www.tuxera.com/
Linux NTFS maintainer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/