Re: [PATCH] nvmet: use IOCB_NOWAIT only if the filesystem supports it.
From: Christoph Hellwig <hch@lst.de>
Date: 2021-11-22 12:57:28
From: Christoph Hellwig <hch@lst.de>
Date: 2021-11-22 12:57:28
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.