summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-05-23 13:47:46 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-05-23 13:47:46 +0000
commitb678ce97b49a90c1fafb3502ec0418694de68793 (patch)
tree8c4b3646e07172222959a1ec77a11633ca78802d /sys
parente174b0f05ebd8b187467c29549be13fb55cf94cc (diff)
Make a promise (not yet true) that the b_iodone callback will
be called at splbio.
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/buf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index 5fd2143f21d..20805e5a1b1 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.39 2002/03/14 03:16:12 millert Exp $ */
+/* $OpenBSD: buf.h,v 1.40 2002/05/23 13:47:45 art Exp $ */
/* $NetBSD: buf.h,v 1.25 1997/04/09 21:12:17 mycroft Exp $ */
/*
@@ -93,7 +93,8 @@ struct buf {
void *b_saveaddr; /* Original b_addr for physio. */
daddr_t b_lblkno; /* Logical block number. */
daddr_t b_blkno; /* Underlying physical block number. */
- /* Function to call upon completion. */
+ /* Function to call upon completion.
+ * Will be called at splbio(). */
void (*b_iodone)(struct buf *);
struct vnode *b_vp; /* Device vnode. */
int b_dirtyoff; /* Offset in buffer of dirty region. */