class type inode_view_t =Inheritsobject
..end
method inode_get_e : id:int64 -> Pfs_rpcapi_aux.inodeinfo option Uq_engines.engine
method inode_get_with_lock_e : id:int64 -> Pfs_rpcapi_aux.inodeinfo option Uq_engines.engine
inode_get_e
but immediately acquires a write lock for the
inodemethod inode_alloc_e : Pfs_rpcapi_aux.inodeinfo -> int64 Uq_engines.engine
method inode_upd_e : id:int64 ->
keep_blocklimit:bool -> Pfs_rpcapi_aux.inodeinfo -> unit Uq_engines.engine
blocklimit
is only allowed
if keep_blocklimit=false
. filetype
changes are silently ignored.method inode_dealloc_e : id:int64 -> unit Uq_engines.engine
id
. This
is not checked, however.method inode_get_blocks_e : id:int64 ->
blkidx:int64 ->
len:int64 ->
bm_view_t -> Pfs_rpcapi_aux.blockinfo list Uq_engines.engine
method inode_upd_blocks_e : id:int64 ->
del:int64 * int64 ->
add:Pfs_rpcapi_aux.blockinfo list ->
set_mtime:bool -> set_blocklimit:int64 -> unit Uq_engines.engine
del
range, then add
the blocks from add
.
If set_mtime
, sets the mtime fields in inodeinfo to the server
time.
set_blocklimit
: the new blocklimit
field in inodeinfo.
method inode_upd_time : id:int64 ->
mtime:Pfs_rpcapi_aux.time option -> ctime:Pfs_rpcapi_aux.time option -> unit
method filename_get_e : dir_inode:int64 -> name:string -> int64 option Uq_engines.engine
name
of directory dir_inode
method filename_rev_get_e : inode:int64 -> (int64 * string) list Uq_engines.engine
method filename_rev_get_dir_e : inode:int64 -> (int64 * string * (unit -> unit)) Uq_engines.engine
ECONFLICT
.
The return value is (parent_dir_inode, dir_name, unlock)
For inode=1, the value is (1,"/",unlock)
.
method filename_parent_dir_e : inode:int64 -> int64 option Uq_engines.engine
method filename_count_e : inode:int64 -> int Uq_engines.engine
filename_rev_get_e
)method filename_list_e : dir_inode:int64 -> (string * int64) list Uq_engines.engine
method filename_link_e : dir_inode:int64 -> name:string -> inode:int64 -> unit Uq_engines.engine
method filename_unlink_e : dir_inode:int64 -> name:string -> unit Uq_engines.engine
method filename_rename_e : from_dir_inode:int64 ->
from_name:string ->
to_dir_inode:int64 -> to_name:string -> unit Uq_engines.engine
method delayed_inode_deletes : int64 list