git: kernel - Change callout in struct ccb_hdr

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Mar 4 12:53:24 PST 2019


commit cec957e929d4fbddf545b1918d45b9eadc8268ce
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Mar 4 12:50:52 2019 -0800

    kernel - Change callout in struct ccb_hdr
    
    * Change the callout declaration in struct ccb_hdr from an embedded
      structure to a pointer, add padding to get the whole structure to its
      original size (prior to the recent callout patch).
    
    * This removes an improper ABI dependency on the kernel struct callout
      structure which was causing 'camcontrol', and 'smartctl' (from
      smartmontools) to fail.
    
    Testing: dillon, tuxillo

Summary of changes:
 sys/bus/cam/cam_ccb.h                     |   4 +-
 sys/bus/cam/cam_periph.c                  | 133 +++++----
 sys/bus/cam/cam_xpt.c                     | 430 +++++++++++++++++-------------
 sys/bus/cam/cam_xpt_periph.h              |   2 +-
 sys/bus/cam/scsi/scsi_all.c               |  39 +--
 sys/bus/cam/scsi/scsi_cd.c                |  41 +--
 sys/bus/cam/scsi/scsi_da.c                | 148 +++++-----
 sys/bus/cam/scsi/scsi_pass.c              |   2 +-
 sys/bus/cam/scsi/scsi_sg.c                |   4 +-
 sys/bus/cam/scsi/scsi_targ_bh.c           |  74 ++---
 sys/bus/cam/scsi/scsi_target.c            |  92 ++++---
 sys/bus/u4b/storage/umass.c               |  12 +-
 sys/dev/disk/advansys/advansys.c          |  29 +-
 sys/dev/disk/advansys/advlib.c            |  25 +-
 sys/dev/disk/advansys/adwcam.c            |  24 +-
 sys/dev/disk/ahci/ahci_cam.c              |   2 +-
 sys/dev/disk/amd/amd.c                    |  31 ++-
 sys/dev/disk/buslogic/bt.c                |  37 +--
 sys/dev/disk/iscsi/initiator/isc_cam.c    |  15 +-
 sys/dev/disk/isp/isp_freebsd.c            |  53 ++--
 sys/dev/disk/mpt/mpt_cam.c                |  41 +--
 sys/dev/disk/mpt/mpt_raid.c               |  63 +++--
 sys/dev/disk/nata/atapi-cam.c             |  27 +-
 sys/dev/disk/ncr/ncr.c                    |  55 ++--
 sys/dev/disk/sbp/sbp.c                    |  14 +-
 sys/dev/disk/sili/sili_cam.c              |   2 +-
 sys/dev/disk/sym/sym_hipd.c               |  26 +-
 sys/dev/disk/trm/trm.c                    |  21 +-
 sys/dev/disk/vpo/vpo.c                    |   8 +-
 sys/dev/raid/aac/aac_cam.c                |   4 +-
 sys/dev/raid/arcmsr/arcmsr.c              |   8 +-
 sys/dev/raid/asr/asr.c                    |  30 ++-
 sys/dev/raid/ciss/ciss.c                  |   9 +-
 sys/dev/raid/dpt/dpt_scsi.c               |   4 +-
 sys/dev/raid/hpt27xx/hpt27xx_osm_bsd.c    |  29 +-
 sys/dev/raid/hptiop/hptiop.c              |  45 ++--
 sys/dev/raid/hptmv/entry.c                |  18 +-
 sys/dev/raid/hptrr/hptrr_osm_bsd.c        |  20 +-
 sys/dev/raid/iir/iir.c                    |   6 +-
 sys/dev/raid/mly/mly.c                    |   4 +-
 sys/dev/raid/mpr/mpr_sas.c                |  43 +--
 sys/dev/raid/mpr/mpr_sas_lsi.c            |   4 +-
 sys/dev/raid/mps/mps_sas.c                |  36 +--
 sys/dev/raid/mrsas/mrsas_cam.c            |  14 +-
 sys/dev/raid/twa/tw_osl_cam.c             |   2 +-
 sys/dev/raid/tws/tws.c                    |   6 +-
 sys/dev/raid/tws/tws_cam.c                |  14 +-
 sys/dev/virtual/virtio/scsi/virtio_scsi.c |  44 +--
 48 files changed, 1015 insertions(+), 779 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cec957e929d4fbddf545b1918d45b9eadc8268ce


-- 
DragonFly BSD source repository


More information about the Commits mailing list