[Pvfs2-developers] handle ledger
murali.vilayannur at gmail.com
Mon Jan 28 17:46:31 EST 2008
Isn't it possible that creates can now fail after exhausting 32 retries?
Can we not load the ledger in the background while the server sets itself up
and let it continue processing requests normally?
that way we can still lookup some handles from the ledgers for
create's handle allocations.
On 1/28/08, Sam Lang <slang at mcs.anl.gov> wrote:
> Attached patch disables the handle ledger. For those not familiar,
> the handle ledger is an in-memory structure that maintains allocated
> handles for a given server. I'm disabling it because reading the
> entire database each time the server loads is extremely expensive for
> large filesystems. Instead of choosing a handle from the ledger, the
> patch picks one randomly. This means we have to deal with collisions
> now, but because of our large handle space, they only occur every 100
> billion times or so.
> I didn't blow away the handle allocation code entirely...I just
> disabled the calls that we had been using to invoke the handle ledger,
> and added some functionality that picks a random handle from a given
> range. In the dspace code, I modified the create function to continue
> up to 32 times if a collision with an already existing handle occurs.
> Pvfs2-developers mailing list
> Pvfs2-developers at beowulf-underground.org
More information about the Pvfs2-developers