[PATCH 5/6] nvmet: add verify emulation support for file-ns

Christoph Hellwig hch at lst.de
Tue Jul 5 01:36:48 PDT 2022


On Thu, Jun 30, 2022 at 02:14:05AM -0700, Chaitanya Kulkarni wrote:
> For now, there is no way to map verify operation to the VFS layer API.
> This patch emulates verify operation by offloading it to the workqueue
> and reading the data using vfs layer APIs for both buffered io and
> direct io mode.

What does this buy us?  I'm generally not too happy about adding
actualy logic to nvmet, it is supposed to mostly just pass through
operations support by block device or files.



More information about the Linux-nvme mailing list