linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] block: add documentation for inflight
@ 2021-10-19 13:02 Steffen Maier
  2021-10-19 17:09 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Steffen Maier @ 2021-10-19 13:02 UTC (permalink / raw)
  To: Jens Axboe, Nikanth Karthikesan, linux-block, linux-doc
  Cc: Mauro Carvalho Chehab, Jonathan Corbet, Greg Kroah-Hartman,
	linux-scsi, linux-kernel, linux-s390

Complements v2.6.32 commit a9327cac440b ("Seperate read and write
statistics of in_flight requests") and commit 316d315bffa4 ("block:
Seperate read and write statistics of in_flight requests v2").

Signed-off-by: Steffen Maier <maier@linux.ibm.com>
---
 Documentation/ABI/testing/sysfs-block | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block
index a0ed87386639..b16b0c45a272 100644
--- a/Documentation/ABI/testing/sysfs-block
+++ b/Documentation/ABI/testing/sysfs-block
@@ -28,6 +28,22 @@ Description:
 		For more details refer Documentation/admin-guide/iostats.rst
 
 
+What:		/sys/block/<disk>/inflight
+Date:		October 2009
+Contact:	Jens Axboe <axboe@kernel.dk>, Nikanth Karthikesan <knikanth@suse.de>
+Description:
+		Reports the number of I/O requests currently in progress
+		(pending / in flight) in a device driver. This can be less
+		than the number of requests queued in the block device queue.
+		The report contains 2 fields: one for read requests
+		and one for write requests.
+		The value type is unsigned int.
+		Cf. Documentation/block/stat.rst which contains a single value for
+		requests in flight.
+		This is related to nr_requests in Documentation/block/queue-sysfs.rst
+		and for SCSI device also its queue_depth.
+
+
 What:		/sys/block/<disk>/diskseq
 Date:		February 2021
 Contact:	Matteo Croce <mcroce@microsoft.com>
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: add documentation for inflight
  2021-10-19 13:02 [PATCH] block: add documentation for inflight Steffen Maier
@ 2021-10-19 17:09 ` Jens Axboe
  2021-10-19 21:04   ` Jonathan Corbet
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2021-10-19 17:09 UTC (permalink / raw)
  To: Steffen Maier, Nikanth Karthikesan, linux-block, linux-doc
  Cc: Mauro Carvalho Chehab, Jonathan Corbet, Greg Kroah-Hartman,
	linux-scsi, linux-kernel, linux-s390

On 10/19/21 7:02 AM, Steffen Maier wrote:
> Complements v2.6.32 commit a9327cac440b ("Seperate read and write
> statistics of in_flight requests") and commit 316d315bffa4 ("block:
> Seperate read and write statistics of in_flight requests v2").

Jon, probably better if you take this through the doc tree. You can
add my:

Reviewed-by: Jens Axboe <axboe@kernel.dk>

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: add documentation for inflight
  2021-10-19 17:09 ` Jens Axboe
@ 2021-10-19 21:04   ` Jonathan Corbet
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-10-19 21:04 UTC (permalink / raw)
  To: Jens Axboe, Steffen Maier, Nikanth Karthikesan, linux-block, linux-doc
  Cc: Mauro Carvalho Chehab, Greg Kroah-Hartman, linux-scsi,
	linux-kernel, linux-s390

Jens Axboe <axboe@kernel.dk> writes:

> On 10/19/21 7:02 AM, Steffen Maier wrote:
>> Complements v2.6.32 commit a9327cac440b ("Seperate read and write
>> statistics of in_flight requests") and commit 316d315bffa4 ("block:
>> Seperate read and write statistics of in_flight requests v2").
>
> Jon, probably better if you take this through the doc tree. You can
> add my:
>
> Reviewed-by: Jens Axboe <axboe@kernel.dk>

Done.

Thanks,

jon

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-10-19 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-19 13:02 [PATCH] block: add documentation for inflight Steffen Maier
2021-10-19 17:09 ` Jens Axboe
2021-10-19 21:04   ` Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).