[dm-devel] [PATCH][V2] dm, dax: Make sure dm_dax_flush() is called if device supports it

Mike Snitzer snitzer at redhat.com
Wed Jul 26 14:46:39 UTC 2017


On Wed, Jul 26 2017 at  9:35am -0400,
Vivek Goyal <vgoyal at redhat.com> wrote:

> Right now, dm_dax_flush() is not being called and I think it is not being
> called becuase DAXDEV_WRITE_CACHE is not set on dm dax device.
> 
> If underlying dax device supports write cache, set DAXDEV_WRITE_CACHE on
> dm dax device. This will get dm_dax_flush() being called.
> 
> Acked-by: Dan Williams <dan.j.williams at intel.com>
> Signed-off-by: Vivek Goyal <vgoyal at redhat.com>

I tweaked the header a bit and staged for 4.13-rc3 here:
https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git/commit/?h=for-4.13/dm&id=325ab51b81ca2a84ffd434652273eb5d8a8a5750

Thanks!




More information about the dm-devel mailing list