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>
Showing
- drivers/md/Makefile 2 additions, 1 deletiondrivers/md/Makefile
- drivers/md/dm-builtin.c 1 addition, 1 deletiondrivers/md/dm-builtin.c
- drivers/md/dm-core.h 149 additions, 0 deletionsdrivers/md/dm-core.h
- drivers/md/dm-io.c 1 addition, 1 deletiondrivers/md/dm-io.c
- drivers/md/dm-ioctl.c 1 addition, 1 deletiondrivers/md/dm-ioctl.c
- drivers/md/dm-kcopyd.c 1 addition, 1 deletiondrivers/md/dm-kcopyd.c
- drivers/md/dm-mpath.c 2 additions, 2 deletionsdrivers/md/dm-mpath.c
- drivers/md/dm-rq.c 959 additions, 0 deletionsdrivers/md/dm-rq.c
- drivers/md/dm-rq.h 64 additions, 0 deletionsdrivers/md/dm-rq.h
- drivers/md/dm-stats.c 1 addition, 1 deletiondrivers/md/dm-stats.c
- drivers/md/dm-sysfs.c 2 additions, 1 deletiondrivers/md/dm-sysfs.c
- drivers/md/dm-table.c 1 addition, 1 deletiondrivers/md/dm-table.c
- drivers/md/dm-target.c 1 addition, 1 deletiondrivers/md/dm-target.c
- drivers/md/dm.c 13 additions, 1097 deletionsdrivers/md/dm.c
- drivers/md/dm.h 2 additions, 23 deletionsdrivers/md/dm.h
Loading
Please register or sign in to comment