summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2000-12-20 05:10:08 +0000
committergrog <grog@FreeBSD.org>2000-12-20 05:10:08 +0000
commitef43fb532330b1581f4874f343361a4c4027a403 (patch)
tree634a01929b11f62ab2f93c746dbf467fb5d57a8e
parent9b04a6e6093782a2b144b906832d6c6ca68ba34f (diff)
downloadFreeBSD-src-ef43fb532330b1581f4874f343361a4c4027a403.zip
FreeBSD-src-ef43fb532330b1581f4874f343361a4c4027a403.tar.gz
Add flag XFR_BUFLOCKED to identify buffers which have been locked.
Part of fix to ensure that we unlock buffers we lock. In principle submitted by: tegge
-rw-r--r--sys/dev/vinum/request.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/vinum/request.h b/sys/dev/vinum/request.h
index 9f29297..25d826f 100644
--- a/sys/dev/vinum/request.h
+++ b/sys/dev/vinum/request.h
@@ -33,7 +33,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: request.h,v 1.17 1999/12/27 02:18:05 grog Exp grog $
+ * $Id: request.h,v 1.18 2000/05/07 04:05:33 grog Exp grog $
* $FreeBSD$
*/
@@ -54,6 +54,7 @@ enum xferinfo {
XFR_PHASE2 = 0x800, /* documentation only: 2nd phase write */
#endif
XFR_REVIVECONFLICT = 0x1000, /* possible conflict with a revive operation */
+ XFR_BUFLOCKED = 0x2000, /* BUF_LOCK performed on this buffer */
/* operations that need a parity block */
XFR_PARITYOP = (XFR_NORMAL_WRITE | XFR_RECOVERY_READ | XFR_DEGRADED_WRITE),
/* operations that use the group parameters */
OpenPOWER on IntegriCloud