summaryrefslogtreecommitdiff
path: root/sys/scsi
AgeCommit message (Expand)Author
2017-11-11Fix a broken compilation when using SCSIDEBUG options(4).Mike Larkin
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-05-29sd: flush cache when closing writable FDStefan Fritsch
2017-05-29Add an ioctl to tell storage devices to flush their internal cachesStefan Fritsch
2017-05-29To prevent anyone else from stumbling on this (now) archaic bit ofKenneth R Westerback
2017-05-19Add some comments about the assumptions of the scsi mid layerStefan Fritsch
2017-05-04Also pass the blk offset to disk_unbusy(), so that it can pass it toTheo de Raadt
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
2016-03-19Do not run into sdgetdisklabel() when scsi disk is dying. AddAlexander Bluhm
2016-03-18After sleeping and before accessing sc_link, check that scsi diskAlexander Bluhm
2016-03-17Do not access the scsi link structure in sdclose() if the diskAlexander Bluhm
2016-03-16Add SDF_DYING checks to more functions in scsi disk, to prevent anAlexander Bluhm
2016-03-12Standardize on calling local scsi_link variables 'link' instead ofKenneth R Westerback
2016-03-12When unplugging an USB umass stick, the kernel could panic becauseAlexander Bluhm
2016-03-11"if (_3btol(cmd->len) != 0)" is more likely to be a useful test thanKenneth R Westerback
2016-03-10Enforce some naming sanity. Stop using 'sc_link' to mean two differentKenneth R Westerback
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-02-03Do not access the scsi link of the disk at the beginning of sdopen()Alexander Bluhm
2016-02-03When accessing the scsi link of a scsi disk, use a variable "sc_link"Alexander Bluhm
2015-08-23add some sizes to free. looked over by deraadtTed Unangst
2015-06-07More damned eye searing whitespace.Kenneth R Westerback
2015-04-02use correct capitalization of 'BlackBerry'Jasper Lievisse Adriaanse
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-03-08Fix some format specifiers in debug code.Kenneth R Westerback
2015-03-04prevent umass devices from being considered for paths.David Gwynne
2015-02-11we dont need sys/lock.h because we dont use lockmgr, but we do needDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-12-15convert bcopy to memcpy. ok dlg krwTed Unangst
2014-09-20Fix bug in taskq conversion that would lead to a null pointer dereference.Mark Kettenis
2014-09-18Some disks, such as the Seagate Cheetah 73LP FC with Sun firmwareMark Kettenis
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-09-09remove the scsi_task() wrapper around workq_add_task now that nothingDavid Gwynne
2014-09-09rework the hotplug requests to use tasks rather than workqs.David Gwynne
2014-07-13use mallocarray where arguments are multiplied; ok teduTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-10Now that sd(4) drives under softraid0 have their cache flushed whenMartin Pieuchot
2014-07-01take the biglock before calling the xs completion handler.David Gwynne
2014-07-01take the biglock when calling an adapters scsi_cmd handler.David Gwynne
2014-07-01start on being able to safely run io through the midlayer withoutDavid Gwynne
2014-05-01move pointer use to after a NULL pointer checkJonathan Gray
2014-04-22factor out the code that figures out whether you're probing or detachingDavid Gwynne
2014-04-20make the status handler more like rdac and emc. the big functional changeDavid Gwynne
2014-04-19move scsi_xs_put after checks that use fields in the xsJonathan Matthew
2014-04-19implement emc_mpath_checksense() according to what my cx500 throws.David Gwynne
2014-04-17rework this to implement the active path checks when mpath asks forDavid Gwynne
2014-04-03massage the preferred path detection to happen when mpath asks forDavid Gwynne
2014-04-02whitespace fix, no functional changeDavid Gwynne