diff options
author | phk <phk@FreeBSD.org> | 2002-10-09 07:11:03 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-09 07:11:03 +0000 |
commit | 32bc10e82a1e0e09a849279aa7935984a6de396e (patch) | |
tree | 3f181d06caa2328b884650007ea2fd8aa5d6b2bf /sys | |
parent | badf9d5c6c6521b30c4c09a5c1c020e565dfab8c (diff) | |
download | FreeBSD-src-32bc10e82a1e0e09a849279aa7935984a6de396e.zip FreeBSD-src-32bc10e82a1e0e09a849279aa7935984a6de396e.tar.gz |
Add a field for tallying the number of spawned bio's a bio has.
Rearrange and comment some GEOM related fields.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/bio.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h index a202449..3d5b12c 100644 --- a/sys/sys/bio.h +++ b/sys/sys/bio.h @@ -75,16 +75,17 @@ struct bio { void *bio_caller1; /* Private use by the caller. */ void *bio_caller2; /* Private use by the caller. */ TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ + const char *bio_attribute; /* Attribute for BIO_[GS]ETATTR */ + struct g_consumer *bio_from; /* GEOM linkage */ + struct g_provider *bio_to; /* GEOM linkage */ + off_t bio_length; /* Like bio_bcount */ + off_t bio_completed; /* Inverse of bio_resid */ + u_int bio_children; /* Number of spawned bios */ /* XXX: these go away when bio chaining is introduced */ daddr_t bio_pblkno; /* physical block number */ struct iodone_chain *bio_done_chain; struct bio *bio_linkage; - off_t bio_length; - const char *bio_attribute; - off_t bio_completed; - struct g_consumer *bio_from; - struct g_provider *bio_to; }; /* bio_cmd */ |