From b678ce97b49a90c1fafb3502ec0418694de68793 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Thu, 23 May 2002 13:47:46 +0000 Subject: Make a promise (not yet true) that the b_iodone callback will be called at splbio. --- sys/sys/buf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys') 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. */ -- cgit v1.2.3