K 10 svn:author V 3 mav K 8 svn:date V 27 2021-03-15T03:04:14.909280Z K 7 svn:log V 798 Refactor CTL datamove KPI. - Make frontends call unified CTL core method ctl_datamove_done() to report move completion. It allows to reduce code duplication in differerent backends by accounting DMA time in common code. - Add to ctl_datamove_done() and be_move_done() callback samethr argument, reporting whether the callback is called in the same context as ctl_datamove(). It allows for some cases like iSCSI write with immediate data or camsim frontend write save one context switch, since we know that the context is sleepable. - Remove data_move_done() methods from struct ctl_backend_driver, unused since forever. MFC after: 1 month (cherry picked from commit 2c7dc6bae9fd5c2fa0a65768df8e4e99c2f159f1) Git Hash: c4a81e647599fa8acc5ba1b4dbe34f357d8219bc Git Author: mav@FreeBSD.org END