From 81ac903ce39ae1c96d28da3d7af29f364296b4cf Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 14 Jul 2022 16:47:40 +0200 Subject: kernel/driver/serial: allow writes even with pending reads --- src/kernel/vfs/request.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/kernel/vfs/request.h') diff --git a/src/kernel/vfs/request.h b/src/kernel/vfs/request.h index 29f1ee9..fc1ef08 100644 --- a/src/kernel/vfs/request.h +++ b/src/kernel/vfs/request.h @@ -55,6 +55,9 @@ struct vfs_request { struct vfs_backend *backend; struct vfs_request *queue_next; + struct vfs_request *postqueue_next; /* used by kernel backends */ + /* only one of these queues is in use at a given moment, they could + * be merged into a single field */ }; /** Assigns the vfs_request to the caller, and dispatches the call */ -- cgit v1.2.3