Question on IOStat accounting

Keith Busch keith.busch at intel.com
Wed Sep 17 07:28:07 PDT 2014


On Wed, 17 Sep 2014, Indraneel Mukherjee wrote:
> In the current implementation of IO accounting in the nvme driver,
> accounting is started once IOD is successfully prepared.
> Thereafter 2 cases can happen, either IO gets successfully submitted to
> device or it can get queued up in the IOD list if there is a failure.
>
> So what's the definition of iostat here? In-flight in the device or
> in-flight in the driver ? Is there a need to make this consistent?

It seems consistent with other block drivers. Usually stats are handled
above the device driver at the request layer, but bio-based drivers
handle the stats on their own.



More information about the Linux-nvme mailing list