Date: Tue, 5 Jul 2005 05:31:14 -0700 From: Luigi Rizzo <rizzo@icir.org> To: current@freebsd.org Subject: struct buf_queue_head still existing in 5.x/6.x ? Message-ID: <20050705053114.A96381@xorpc.icir.org>
next in thread | raw e-mail | index | archive | help
Can someone explain why in both 5.x and 6.x, we still have
"struct buf_queue_head" defined in sys/buf.h ?
I thought it was replaced by 'struct bio_queue_head' almost
everywhere - as a matter of fact, the definitioni in sys/buf.h
seems to be a duplicate of the one for struct bio_queue_head
in sys/bio.h (mutatis mutandis), and a grep gives only a handful
of usages:
> cd /usr/HEAD_050628/src/sys
> grep -r buf_queue_head *
dev/aac/aac_compat.h:#define bio_queue_head buf_queue_head
dev/amr/amr_compat.h:# define bio_queue_head buf_queue_head
dev/mlx/mlx_compat.h:typedef struct buf_queue_head mlx_bioq;
dev/twe/twe_compat.h:typedef struct buf_queue_head twe_bioq;
sys/buf.h:struct buf_queue_head {
> cd /usr/R5_050628/src/sys
> grep -r buf_queue_head *
dev/aac/aac_compat.h:#define bio_queue_head buf_queue_head
dev/amr/amr_compat.h:# define bio_queue_head buf_queue_head
dev/mlx/mlx_compat.h:typedef struct buf_queue_head mlx_bioq;
dev/twe/twe_compat.h:typedef struct buf_queue_head twe_bioq;
sys/buf.h:struct buf_queue_head {
thanks
luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050705053114.A96381>
