dm: move request-based code out to dm-rq.[hc]
authorMike Snitzer <snitzer@redhat.com>
Thu, 12 May 2016 20:28:10 +0000 (16:28 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 10 Jun 2016 19:15:44 +0000 (15:15 -0400)
commit4cc96131afce3eaae7c13dff41c6ba771cf10e96
tree1015e8bd091d2c108fb3d100cfd275c25c89afb3
parent1a89694f7899d39aa58cc6f061e97a17089ac025
dm: move request-based code out to dm-rq.[hc]

Add some seperation between bio-based and request-based DM core code.

'struct mapped_device' and other DM core only structures and functions
have been moved to dm-core.h and all relevant DM core .c files have been
updated to include dm-core.h rather than dm.h

DM targets should _never_ include dm-core.h!

[block core merge conflict resolution from Stephen Rothwell]
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
15 files changed:
drivers/md/Makefile
drivers/md/dm-builtin.c
drivers/md/dm-core.h [new file with mode: 0644]
drivers/md/dm-io.c
drivers/md/dm-ioctl.c
drivers/md/dm-kcopyd.c
drivers/md/dm-mpath.c
drivers/md/dm-rq.c [new file with mode: 0644]
drivers/md/dm-rq.h [new file with mode: 0644]
drivers/md/dm-stats.c
drivers/md/dm-sysfs.c
drivers/md/dm-table.c
drivers/md/dm-target.c
drivers/md/dm.c
drivers/md/dm.h