From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id pBHNC24v132244 for ; Sat, 17 Dec 2011 17:12:03 -0600 Received: from bombadil.infradead.org (173-166-109-252-newengland.hfc.comcastbusiness.net [173.166.109.252]) by cuda.sgi.com with ESMTP id j1WVAAAvn3R1wFGR for ; Sat, 17 Dec 2011 15:11:57 -0800 (PST) Date: Sat, 17 Dec 2011 18:11:55 -0500 From: Christoph Hellwig Subject: Re: [PATCH 03/12] xfs: introduce a compound buffer construct Message-ID: <20111217231155.GA2383@infradead.org> References: <1323238703-13198-1-git-send-email-david@fromorbit.com> <1323238703-13198-4-git-send-email-david@fromorbit.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1323238703-13198-4-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com > +struct xfs_buf_vec { > + xfs_daddr_t bv_bn; /* block number for I/O */ > + size_t bv_len; /* size of I/O */ > +}; > +#define XB_VECS 2 Why do we embedd to of these by default? In general we'd either have one or a number much bigger than two here. _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs