Subject: Re: Use vn_rdwr in vnd (Re: kern/34882)
To: tech-kern <tech-kern@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-kern
Date: 11/10/2006 00:05:34
On 11/9/06, David Laight <david@l8s.co.uk> wrote:
> On Tue, Nov 07, 2006 at 02:57:06PM +0100, Julio M. Merino Vidal wrote:
> >
> > The attached patch makes vnd use the regular VOP_READ and VOP_WRITE
> > operations iff bmap/strategy are _not_ available
>
> Would that let it work with sparse files ?

I think it would, but I haven't tested.

> If so a mount option might be useful.

It should be a vnconfig option (dunno if that's what you wanted to
say) because the setting is on the vnd device, not per-mount specific.

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/