Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 18:08:12 +0200
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org, Poul-Henning Kamp <phk@phk.freebsd.dk>, Pav Lucistnik <pav@freebsd.org>, Bruce Evans <bde@zeta.org.au>
Subject:   Re: fs/udf: vm pages "overlap" while reading large dir
Message-ID:  <47B1C46C.2010906@icyb.net.ua>
In-Reply-To: <20080213015738.L24074@besplex.bde.org>
References:  <4299.1202816854@critter.freebsd.dk> <20080212234018.O92415@delplex.bde.org> <47B1A631.1000504@icyb.net.ua> <20080213015738.L24074@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 12/02/2008 17:58 Bruce Evans said the following:
> On Tue, 12 Feb 2008, Andriy Gapon wrote:
>> And the actual reading works correctly because udf_strategy is called
>> for such vnodes and it translates block numbers from physical to logical
>> and also correctly re-calculates b_iooffset for actual reading. So
>> b_iooffset value set in breadn() (using bdtob) is completely ignored.
> 
> Is this setting ever used (and the corresponding setting for writing)
> ever used?

Bruce,

replying only to this part (digesting the others): yes, it is used by
g_vfs_strategy which is a bufobj startegy after g_vfs_open. It passes
b_iooffset as is to bio_offset.

P.S. of course, I am speaking about the current sources - I know you
have almost an OS of your own, kidding :-)

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47B1C46C.2010906>