Re: [PATCH] virtiofs: use GFP_NOFS when enqueuing request through kworker

From: Matthew Wilcox
Date: Wed Jan 03 2024 - 21:55:57 EST


On Thu, Jan 04, 2024 at 09:58:05AM +0800, Hou Tao wrote:
> static int virtio_fs_enqueue_req(struct virtio_fs_vq *fsvq,
> - struct fuse_req *req, bool in_flight);
> + struct fuse_req *req, bool in_flight,
> + bool in_atomic);

Better to pass the gfp_t directly instead of a bool.