From: Mike Snitzer Subject: Re: [PATCH 1/2] dm log writes: Add support for inline data buffers Date: Tue, 24 Oct 2017 15:14:32 -0400 Message-ID: <20171024191431.GA22902@redhat.com> References: <20171020052404.13762-1-ross.zwisler@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, Josef Bacik , Alasdair Kergon , Dan Williams , Dave Chinner , Jan Kara , Shaohua Li , dm-devel@redhat.com, linux-nvdimm@lists.01.org, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-xfs@vger.kernel.org, Christoph Hellwig To: Ross Zwisler Return-path: Content-Disposition: inline In-Reply-To: <20171020052404.13762-1-ross.zwisler@linux.intel.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Fri, Oct 20 2017 at 1:24am -0400, Ross Zwisler wrote: > Currently dm-log-writes supports writing filesystem data via BIOs, and > 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 Hi, I picked this up but tweaked some whitespace and couple style nits, see: https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-4.15/dm&id=6a697d036324c7fbe63fb49599027269006161e7 Thanks, Mike