Nydus

@Nydus

Public team

Joined on Aug 4, 2022

  • Time: at 06:00 UTC (14:00 Beijing, Shanghai) Every two weeks starting from Aug 10, 2022 on Wednesday Everyone is welcome to propose topics or suggest agenda alterations there. Nydus image service Conference URL with embedded passcode Meeting Calendar
     Like  Bookmark
  • Don't close anonfd before replying copen Refer to constraint for failover Don't close anonfd when executing daemon_read() and before replying CACHEFILES_IOC_READ_COMPLETE Don't close anonfd when executing daemon_read() P1 P2 ------------ -------------- cachefiles_ondemand_daemon_read cachefiles_ondemand_fd_release
     Like  Bookmark
  • flush CLOSE requests when anon fd is closed When anonymous fd gets closed, all CLOSE requests associated with this anonymous fd will be flushed from the xarray, to avoid the following race. P1 P2 ------------ ----------- umount enqueue CLOSE request with a object_id close anon fd free the object_id
     Like  Bookmark
  • task daemon =========== ========== send_req close_devfd close_anonfd daemon_read (for OPEN) copen (write on devfd) (for READ) CACHEFILES_IOC_READ_COMPLETE ioctl (on anonfd) 1. task:send_req 与 daemon:close_devfd 访问 erofs 文件的进程在触发 ondemand 的时候,通过 cachefiles_ondemand_send_req() 将请求添加到 xarray 中,即 enqueue request
     Like  Bookmark
  • 共享域(同一个 blob 在多个 erofs 文件系统中共享) + page cache 共享(相同 page cache 在多个 erofs inode 间共享) 多daemon (目前单 daemon 导致 nfs 和 ondemand 模式无法同时使用) daemon less failover cache 空间管理 fscache 分发请求 公平,防止饿死 共享域 本质上是让多个 erofs 文件系统共享同一个 volume。因而在 erofs 内部维护一个 volume 的池子。此时 erofs 可以增加一个 -o share_domain=… 挂载参数,每个 share domain 维护一个 volume 池子,在同一个 share domain 内可以共享 bootstrap/blob
     Like  Bookmark