Re: 9p EBADF with cache enabled (Was: 9p fs-cache tests/benchmark (was: 9p fscache Duplicate cookie detected))
From: David Howells
Date: Thu Apr 21 2022 - 06:36:25 EST
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