• Dan Williams's avatar
    dax: Report bytes remaining in dax_iomap_actor() · a77d4786
    Dan Williams authored
    In preparation for protecting the dax read(2) path from media errors
    with copy_to_iter_mcsafe() (via dax_copy_to_iter()), convert the
    implementation to report the bytes successfully transferred.
    
    Cc: <x86@kernel.org>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Andy Lutomirski <luto@amacapital.net>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
    a77d4786
dax.c 44.4 KB