bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Review of Thomas's >2GB ext2fs proposal


From: Ognyan Kulev
Subject: Re: Review of Thomas's >2GB ext2fs proposal
Date: Tue, 17 Aug 2004 12:50:25 +0300
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

Neal H. Walfield wrote:
If that is the case, then I think we should drop the whole reference
counting system and have the accessor functions just do a vm_map and
vm_unmap as required.

Surely you don't want ext2_getblk to vm_map/vm_unmap 1024 times the same single indirect block for a 4M file when this file is read. (ext2_getblk is called for each block when file is read.)

And what about two threads that access the same block? They should work with the same page (we don't want to merge changes made in two pages, right?), and whoever fininishes first must not vm_unmap the page, because the other works with the same page too.

Regards,
ogi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]