From owner-freebsd-current@FreeBSD.ORG Tue Jul 5 12:31:15 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11FEC16A41C; Tue, 5 Jul 2005 12:31:15 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF39443D48; Tue, 5 Jul 2005 12:31:14 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.11) with ESMTP id j65CVElS096452; Tue, 5 Jul 2005 05:31:14 -0700 (PDT) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j65CVEci096451; Tue, 5 Jul 2005 05:31:14 -0700 (PDT) (envelope-from rizzo) Date: Tue, 5 Jul 2005 05:31:14 -0700 From: Luigi Rizzo To: current@freebsd.org Message-ID: <20050705053114.A96381@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i Cc: Subject: struct buf_queue_head still existing in 5.x/6.x ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2005 12:31:15 -0000 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