On Thu, May 15, 2025 at 6:27 PM Amir Goldstein <amir7...@gmail.com> wrote: > > On Thu, May 15, 2025 at 9:35 AM Chen Linxuan <chenlinx...@uniontech.com> > wrote: > > > > + ret = read(test_fd, path_buf, sizeof(path_buf)); > > + ASSERT_LT(ret, 0); > > Nice! > I guess you could also verify errno == ENOTCONN or whatever it is > in this case.
I am currently facing two issues: 1. I am not sure about the exact functions of max_background and congestion_threshold. I have prepared a patch that adds documentation for these two fields, which can be found here: https://lore.kernel.org/all/20250514061703.483505-2-chenlinx...@uniontech.com/ 2. How should I test the "waiting" file? My current idea is to have my FUSE daemon stay in a state where it does not respond to requests, and then use some form of inter-process communication (maybe a Unix socket?) to make it resume working. I am not sure if there is a better approach. Thanks, Chen Linxuan.