Add an ioctl to tell storage devices to flush their internal caches
authorsf <sf@openbsd.org>
Mon, 29 May 2017 14:05:31 +0000 (14:05 +0000)
committersf <sf@openbsd.org>
Mon, 29 May 2017 14:05:31 +0000 (14:05 +0000)
commit805cc48e2b68c21c3fa7691b37d49349beee417a
tree895aa7e88b3db94f7e03303738e9cf1fbd615e09
parent32fefda9c61dd8e6c1a0f9d94aa2d162c22a102f
Add an ioctl to tell storage devices to flush their internal caches

Currently implemented for wd and sd.
Initially ported from netbsd by pedro@

ok deraadt@
sys/dev/ata/wd.c
sys/scsi/sd.c
sys/sys/dkio.h