Read-only ReiserFS support for FreeBSD 5.x

Jean-Sébastien Pédron jspedron at club-internet.fr
Wed Oct 20 07:14:25 PDT 2004


Ryan Sommers wrote:
> Jean-Sébastien Pédron wrote:
> 
>> Thank you ! About performance, this current port is slower than the
>> original Linux code, because it adds a few malloc() that could be
>> avoided I guess. The problem is I don't know how to use the locking 
>> systems.
> 
> I'm guessing this port doesn't make any use of the zone allocator? If 
> not, significant performance could likely be gained by using it as 
> opposed to simply kmalloc(9).

No, it doesn't use the zone allocator. But what I meant is that here, I 
had to use a malloc() for each block read. On Linux, it uses the buffer 
returned by getblk(), but on FreeBSD, I encountered lock issues with 
this same buffer. That's why I currently make a copy of it. I'm sure 
there's a better way :-)

-- 
Jean-Sébastien Pédron
http://www.dumbbell-fr.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20041020/6d0dd0e7/signature.bin


More information about the freebsd-current mailing list