summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2013-08-16 16:14:32 +0000
committerken <ken@FreeBSD.org>2013-08-16 16:14:32 +0000
commit435f1b4a02f7e09f181b348afde0611c93d049a8 (patch)
treeeabbeef072bf7b722bd9561eb165698addf2019f /contrib
parent408a640438d54402be29b92aefda7ba7b30eea12 (diff)
downloadFreeBSD-src-435f1b4a02f7e09f181b348afde0611c93d049a8.zip
FreeBSD-src-435f1b4a02f7e09f181b348afde0611c93d049a8.tar.gz
Add unmapped I/O and larger I/O support to the sa(4) driver.
We now pay attention to the maxio field in the XPT_PATH_INQ CCB, and if it is set, propagate it up to physio via the si_iosize_max field in the cdev structure. We also now pay attention to the PIM_UNMAPPED capability bit in the XPT_PATH_INQ CCB, and set the new SI_UNMAPPED cdev flag when the underlying SIM supports unmapped I/O. scsi_sa.c: Add unmapped I/O support and propagate the SIM's maximum I/O size up. Adjust scsi_tape_read_write() in the same way that scsi_read_write() was changed to support unmapped I/O. We overload the readop parameter with bits that tell us whether it's an unmapped I/O, and we need to set the CAM_DATA_BIO CCB flag. This change should be backwards compatible in source and binary forms. MFC after: 1 week Sponsored by: Spectra Logic
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud