[dm-devel] [PATCH] dm-bufio: move dm-bufio.h to include/linux/

Mikulas Patocka mpatocka at redhat.com
Fri Mar 9 03:56:18 UTC 2018



On Thu, 8 Mar 2018, Christoph Hellwig wrote:

> On Thu, Mar 08, 2018 at 04:22:01AM -0500, Mikulas Patocka wrote:
> > This patch moves dm-bufio to include/linux/, so that external modules can
> > use it. (it is needed for the VDO team)
> 
> NAK.

We have include/linux/device-mapper.h, include/linux/dm-io.h, 
include/linux/dm-kcopyd.h, include/linux/dm-region-hash.h, 
include/linux/dm-dirty-log.h. So why not include/linux/dm-bufio.h?

BTW. dm-bufio doesn't really depend on device mapper at all and it could 
be used by non-dm drivers as well.

> That code once merged should just move to drivers/md/.

But that mering will take a lot of time and until it happens, it will be 
distributed as a separate module.

Mikulas




More information about the dm-devel mailing list