summaryrefslogtreecommitdiff
path: root/sys/dev/bio.c
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-05-29 00:33:38 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2015-05-29 00:33:38 +0000
commitdf3683f9fc781aa41ac4ee46413e8311f00022d3 (patch)
tree383a1106461802237d1048824edcb9435813656a /sys/dev/bio.c
parenteb2636d041e47d397416ba8378e0ed7c2e0ef81e (diff)
Initial addition of ``Patrol Read'' support in bio(4), biocto(8), and
mfi(4). Based on FreeBSD, but done without mfiutil(8). OK deraadt@
Diffstat (limited to 'sys/dev/bio.c')
-rw-r--r--sys/dev/bio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/bio.c b/sys/dev/bio.c
index 42956d5820b..c0bb3aaf715 100644
--- a/sys/dev/bio.c
+++ b/sys/dev/bio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bio.c,v 1.15 2014/07/12 18:48:17 tedu Exp $ */
+/* $OpenBSD: bio.c,v 1.16 2015/05/29 00:33:37 uebayasi Exp $ */
/*
* Copyright (c) 2002 Niklas Hallqvist. All rights reserved.
@@ -98,6 +98,7 @@ bioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
case BIOCCREATERAID:
case BIOCDELETERAID:
case BIOCDISCIPLINE:
+ case BIOCPATROL:
bio = (struct bio *)addr;
if (!bio_validate(bio->bio_cookie))
return (ENOENT);