xfs
[Top] [All Lists]

Re: [PATCH 03/12] xfs: introduce a compound buffer construct

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: [PATCH 03/12] xfs: introduce a compound buffer construct
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Sat, 17 Dec 2011 18:11:55 -0500
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1323238703-13198-4-git-send-email-david@xxxxxxxxxxxxx>
References: <1323238703-13198-1-git-send-email-david@xxxxxxxxxxxxx> <1323238703-13198-4-git-send-email-david@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
> +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.

<Prev in Thread] Current Thread [Next in Thread>