[PATCH 10/11] dm-stripe: add a stripe_dax_pgoff helper

Mike Snitzer snitzer at redhat.com
Tue Nov 2 03:21:26 AEDT 2021


On Wed, Oct 27 2021 at  9:41P -0400,
Dan Williams <dan.j.williams at intel.com> wrote:

> On Sun, Oct 17, 2021 at 9:41 PM Christoph Hellwig <hch at lst.de> wrote:
> >
> > Add a helper to perform the entire remapping for DAX accesses.  This
> > helper open codes bdev_dax_pgoff given that the alignment checks have
> > already been done by the submitting file system and don't need to be
> > repeated.
> 
> Again, looks good. Kind of embarrassing when the open-coded version is
> less LOC than using the helper.
> 
> Mike, ack?

Acked-by: Mike Snitzer <snitzer at redhat.com>



More information about the Linux-erofs mailing list