[PATCH] nvmet: use IOCB_NOWAIT only if the filesystem supports it.

Christoph Hellwig hch at lst.de
Mon Nov 22 04:51:09 PST 2021


On Mon, Nov 22, 2021 at 12:21:46PM +0200, Sagi Grimberg wrote:
> I'd suggest to fix the alignment if we are touching this.
>    		if (likely(!req->f.mpool_alloc) &&
> 		    req->ns->file->f_mode & FMODE_NOWAIT &&
>  		    nvmet_file_execute_io(req, IOCB_NOWAIT))

I had the same though and wil fix this up when applying the patch.



More information about the Linux-nvme mailing list