[PATCH 08/20] nvmet: configure file backed ns for sync IO

Christoph Hellwig hch at lst.de
Tue Apr 24 10:41:02 PDT 2018


On Wed, Apr 18, 2018 at 02:59:59PM -0400, Chaitanya Kulkarni wrote:
> This patch allows file backed namespaces to use newly
> introduced configfs attribute sync, when sync is set
> we open the file with O_SYNC and use the work queue
> to execute the NVMe read/write commands.

So this adds support for buffered I/O.  But why do you force
O_SYNC on everyone who uses buffered I/O?



More information about the Linux-nvme mailing list