On Fri, Oct 20 2017 at 1:24am -0400,
Ross Zwisler <ross.zwisler(a)linux.intel.com> wrote:
Currently dm-log-writes supports writing filesystem data via BIOs,
writing internal metadata from a flat buffer via write_metadata().
For DAX writes, though, we won't have a BIO, but will instead have an
iterator that we'll want to use to fill a flat data buffer.
So, create write_inline_data() which allows us to write filesystem data
using a flat buffer as a source, and wire it up in log_one_block().
Signed-off-by: Ross Zwisler <ross.zwisler(a)linux.intel.com>
I picked this up but tweaked some whitespace and couple style nits, see: