sync


Description:

public int sync ()

Sync all dirty blocks to disk, including the root block.

Parameters:

this

a BlockFile

Returns:

-1 on io error.