sys/dev/disk/dm: Remove upcall handler
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 7 Nov 2015 14:05:09 +0000 (23:05 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 7 Nov 2015 15:20:44 +0000 (00:20 +0900)
commit333a8a0c699ac8ed9876ac61b44aba1d15054bc6
treeaa2018599605bf56838980c4de28c6567f93d814
parent0e9fd5631b6489d300e8b435ef5f4f1f199cda0a
sys/dev/disk/dm: Remove upcall handler

dm target's upcall() handler
  int (*upcall)(dm_table_entry_t *, struct buf *);
implemented by dm targets acutally do nothing other than
returning 0. Also note that upcall() is not used by dm core.

The targets that are supposed to be relying on this api are
obviously not working at the moment, however things aren't
as simple as just implementing missing upcall() handler.

upcall() is supposed to be something to do with targets like
snapshot, but it lacks documentation and purpose of this api
is not clear at all. Whoever tries to implement snapshot/etc
will have to re-design dm core and appropriate handlers from
scratch anyway without using the existing one.
sys/dev/disk/dm/dm.h
sys/dev/disk/dm/dm_ioctl.c
sys/dev/disk/dm/dm_target_error.c
sys/dev/disk/dm/dm_target_zero.c
sys/dev/disk/dm/targets/crypt/dm_target_crypt.c
sys/dev/disk/dm/targets/delay/dm_target_delay.c
sys/dev/disk/dm/targets/linear/dm_target_linear.c
sys/dev/disk/dm/targets/mirror/dm_target_mirror.c
sys/dev/disk/dm/targets/snapshot/dm_target_snapshot.c
sys/dev/disk/dm/targets/striped/dm_target_striped.c