summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-08-04 21:35:05 +0000
committerpjd <pjd@FreeBSD.org>2004-08-04 21:35:05 +0000
commit0b32901632214fa88085bdbeb1c2e94bb3fa2d07 (patch)
treec0a8d5c029b11ea1effeb49bac7f946df7e11fc7 /share
parente67812831a97ba1b8beee675349e516de65b73cd (diff)
downloadFreeBSD-src-0b32901632214fa88085bdbeb1c2e94bb3fa2d07.zip
FreeBSD-src-0b32901632214fa88085bdbeb1c2e94bb3fa2d07.tar.gz
- Add two fields to bio structure: 'bio_cflags' which can be used by
consumer and 'bio_pflags' which can be used by provider. - Remove BIO_FLAG1 and BIO_FLAG2 flags. From now on new fields should be used for internal flags. - Update g_bio(9) manual page. - Update some comments. - Update GEOM_MIRROR, which was the only one using BIO_FLAGs. Idea from: phk Reviewed by: phk
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/g_bio.926
1 files changed, 13 insertions, 13 deletions
diff --git a/share/man/man9/g_bio.9 b/share/man/man9/g_bio.9
index 5c0751b..c839b31 100644
--- a/share/man/man9/g_bio.9
+++ b/share/man/man9/g_bio.9
@@ -72,24 +72,24 @@ Attributes are named by ascii strings and are stored in the
.Va bio_attribute
field.
.El
-.It Va bio_offset
-Offset into provider.
-.It Va bio_data
-Pointer to data buffer.
.It Va bio_flags
Available flags:
-.Bl -tag -width ".Dv BIO_GETATTR"
+.Bl -tag -width ".Dv BIO_ERROR"
.It Dv BIO_ERROR
Request failed (error value is stored in
.Va bio_error
field).
.It Dv BIO_DONE
Request finished.
-.It Dv BIO_FLAG1
-Available for private use.
-.It Dv BIO_FLAG2
-Available for private use.
.El
+.It Va bio_cflags
+Private use by the consumer.
+.It Va bio_pflags
+Private use by the provider.
+.It Va bio_offset
+Offset into provider.
+.It Va bio_data
+Pointer to data buffer.
.It Va bio_error
Error value when
.Dv BIO_ERROR
@@ -97,13 +97,13 @@ is set.
.It Va bio_done
Pointer to function which will be called when the request is finished.
.It Va bio_driver1
-Private use by the callee (i.e., the provider).
+Private use by the provider.
.It Va bio_driver2
-Private use by the callee (i.e., the provider).
+Private use by the provider.
.It Va bio_caller1
-Private use by the caller (i.e., the consumer).
+Private use by the consumer.
.It Va bio_caller2
-Private use by the caller (i.e., the consumer).
+Private use by the consumer.
.It Va bio_attribute
Attribute string for
.Dv BIO_GETATTR
OpenPOWER on IntegriCloud