fs: add iomap_file_dirty
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Sep 2016 00:12:45 +0000 (10:12 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 19 Sep 2016 00:12:45 +0000 (10:12 +1000)
commit5f4e5752a8a3a72c79514def2ad9fc7cd410ce2e
tree943edac57e87caabeaece086af13c8a0c6cef60f
parentea78d80866ce375defb2fdd1c8a3aafec95e0f85
fs: add iomap_file_dirty

Originally-From: Christoph Hellwig <hch@lst.de>

This function uses the iomap infrastructure to re-write all pages
in a given range.  This is useful for doing a copy-up of COW ranges,
and might be useful for scrubbing in the future.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/iomap.c
include/linux/iomap.h