[PATCHv4 13/13] nvmet: report ns's vwc not present

Christoph Hellwig hch at lst.de
Sun Nov 10 21:42:21 PST 2024


On Sat, Nov 09, 2024 at 10:59:19PM +0800, Guixin Liu wrote:
>> 	if ((req->ns->file && !req->ns->buffered_io &&
>> 		bdev_write_cache(file_inode(req->ns->file)->i_sb->s_bdev))
>
> Or just remove !req->ns->buffered_io check? All file backend return
>
> support vwc.

Yes, that is the right thing to do.




More information about the Linux-nvme mailing list