+1
−0
fs/fscache/fsdef.c
0 → 100644
+144
−0
+6
−0
Loading
Gitlab 现已全面支持 git over ssh 与 git over https。通过 HTTPS 访问请配置带有 read_repository / write_repository 权限的 Personal access token。通过 SSH 端口访问请使用 22 端口或 13389 端口。如果使用CAS注册了账户但不知道密码,可以自行至设置中更改;如有其他问题,请发邮件至 service@cra.moe 寻求协助。
Add a description of the root index of the cache for later patches to make use
of.
The root index is owned by FS-Cache itself. When a netfs requests caching
facilities, FS-Cache will, if one doesn't already exist, create an entry in
the root index with the key being the name of the netfs ("AFS" for example),
and the auxiliary data holding the index structure version supplied by the
netfs:
FSDEF
|
+-----------+
| |
NFS AFS
[v=1] [v=1]
If an entry with the appropriate name does already exist, the version is
compared. If the version is different, the entire subtree from that entry
will be discarded and a new entry created.
The new entry will be an index, and a cookie referring to it will be passed to
the netfs. This is then the root handle by which the netfs accesses the
cache. It can create whatever objects it likes in that index, including
further indices.
Signed-off-by:
David Howells <dhowells@redhat.com>
Acked-by:
Steve Dickson <steved@redhat.com>
Acked-by:
Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by:
Al Viro <viro@zeniv.linux.org.uk>
Tested-by:
Daire Byrne <Daire.Byrne@framestore.com>
CRA Git | Maintained and supported by SUSTech CRA and CCSE