You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In CRUISE, the fid was used as both a file identification number and a reference into data structures holding the file's metadata and storage. However, each process "owned" its file and files were not shared across processes.
In UnifyCR, the fid was carried over from CRUISE, and also a new global file id was created to uniquely identify a file across all processes. The fid is still useful given the context of a particular client, as a reference into data structures for the file, e.g., the list of storage blocks allocated to a file.
However, many of the old unifycr_fid_* functions, like unifycr_fid_truncate() and unifycr_fid_unlink() need to be updated to account for global ids. This can be accomplished by replacing many of these calls with gfid equivalents or by keeping with fids. Alternatively, we could keep using fid values here, but we need to add a function so a process can allocate a fid for a file if it does not already have one assigned to that file.
The text was updated successfully, but these errors were encountered:
In CRUISE, the fid was used as both a file identification number and a reference into data structures holding the file's metadata and storage. However, each process "owned" its file and files were not shared across processes.
In UnifyCR, the fid was carried over from CRUISE, and also a new global file id was created to uniquely identify a file across all processes. The fid is still useful given the context of a particular client, as a reference into data structures for the file, e.g., the list of storage blocks allocated to a file.
However, many of the old unifycr_fid_* functions, like unifycr_fid_truncate() and unifycr_fid_unlink() need to be updated to account for global ids. This can be accomplished by replacing many of these calls with gfid equivalents or by keeping with fids. Alternatively, we could keep using fid values here, but we need to add a function so a process can allocate a fid for a file if it does not already have one assigned to that file.
The text was updated successfully, but these errors were encountered: