[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190906104329.GJ5900@stefanha-x1.localdomain>
Date: Fri, 6 Sep 2019 11:43:29 +0100
From: Stefan Hajnoczi <stefanha@...hat.com>
To: Vivek Goyal <vgoyal@...hat.com>
Cc: linux-fsdevel@...r.kernel.org,
virtualization@...ts.linux-foundation.org, miklos@...redi.hu,
linux-kernel@...r.kernel.org, virtio-fs@...hat.com,
dgilbert@...hat.com, mst@...hat.com
Subject: Re: [PATCH 02/18] virtiofs: Check whether hiprio queue is connected
at submission time
On Thu, Sep 05, 2019 at 03:48:43PM -0400, Vivek Goyal wrote:
> For hiprio queue (forget requests), we are keeping a state in queue whether
> queue is connected or not. If queue is not connected, do not try to submit
> request and return error instead.
>
> As of now, we are checking for this state only in path where worker tries
> to submit forget after first attempt failed. Check this state even in
> the path when request is being submitted first time.
>
> Signed-off-by: Vivek Goyal <vgoyal@...hat.com>
> ---
> fs/fuse/virtio_fs.c | 9 ++++++++-
> 1 file changed, 8 insertions(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists