okay that is because 9p sets SREQ_CLEAR_TAIL, adding this goes one step
closer:

diff --git a/fs/9p/vfs_addr.c b/fs/9p/vfs_addr.c
index a97ceb105cd8..33087298e0be 100644
--- a/fs/9p/vfs_addr.c
+++ b/fs/9p/vfs_addr.c
@@ -75,7 +75,8 @@ static void v9fs_issue_read(struct netfs_io_subrequest 
*subreq)
 
        /* if we just extended the file size, any portion not in
         * cache won't be on server and is zeroes */
-       __set_bit(NETFS_SREQ_CLEAR_TAIL, &subreq->flags);
+       if (subreq->rreq->origin != NETFS_DIO_READ)     
+               __set_bit(NETFS_SREQ_CLEAR_TAIL, &subreq->flags);
 
        netfs_subreq_terminated(subreq, err ?: total, false);
 }


unfortunately at this point we get -ENODATA instead of read returning 0; so we 
just need to return 0 instead and that'll probably work™

ran out of time again, will try to continue when able...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2056461

Title:
  autopkgtest-virt-qemu on noble images sometimes hangs doing copydown

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/2056461/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to