[dm-devel] [PATCH 4/4] dax: remove the copy_from_iter and copy_to_iter methods

Mike Snitzer snitzer at redhat.com
Thu Jan 6 14:42:36 UTC 2022


On Wed, Dec 15 2021 at  3:45P -0500,
Christoph Hellwig <hch at lst.de> wrote:

> These methods indirect the actual DAX read/write path.  In the end pmem
> uses magic flush and mc safe variants and fuse and dcssblk use plain ones
> while device mapper picks redirects to the underlying device.
> 
> Add set_dax_nocache() and set_dax_nomc() APIs to control which copy
> routines are used to remove indirect call from the read/write fast path
> as well as a lot of boilerplate code.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Vivek Goyal <vgoyal at redhat.com> [virtiofs]

Late to the game here, but quite a lot of dax DM code removed, thanks!

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




More information about the dm-devel mailing list