Re: 9p EBADF with cache enabled (Was: 9p fs-cache tests/benchmark (was: 9p fscache Duplicate cookie detected))

From: Christian Schoenebeck
Date: Thu Apr 21 2022 - 07:36:34 EST


On Donnerstag, 21. April 2022 12:36:12 CEST David Howells wrote:
> asmadeus@xxxxxxxxxxxxx wrote:
> > int fd = open(argv[1], O_WRONLY|O_APPEND);
> > if (fd < 0)
> >
> > return 1;
> >
> > if (write(fd, "test\n", 5) < 0)
>
> I think I need to implement the ability to store writes in non-uptodate
> pages without needing to read from the server as NFS does. This may fix
> the performance drop also.
>
> David

I hope this does not sound harsh, wouldn't it make sense to revert
eb497943fa215897f2f60fd28aa6fe52da27ca6c for now until those issues are sorted
out? My concern is that it might take a long time to address them, and these
are not minor issues.

Best regards,
Christian Schoenebeck