public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* request->ioprio
@ 2008-08-06  9:32 Fernando Luis Vázquez Cao
  2008-08-06 17:22 ` request->ioprio Divyesh Shah
  0 siblings, 1 reply; 13+ messages in thread
From: Fernando Luis Vázquez Cao @ 2008-08-06  9:32 UTC (permalink / raw)
  To: Jens Axboe; +Cc: rusty, linux-kernel

(CCing LKML)

Hi Jens, Rusty,

Trying to implement i/o tracking all the way up to the page cache (so
that cfq and the future cgroup-based I/O controllers can schedule
buffered I/O properly) I noticed that struct request's ioprio is
initialized but never used for I/O scheduling purposes. Indeed there
seems to be one single user of this member: virtio_blk. Virtio uses
struct request's ioprio in the request() function of the virtio block
driver, which just copies the ioprio value to the output header of
virtblk_req.

Is this the intended use of struct request's ioprio? Is it OK for device
drivers to use it? If the answer two the previous to questions is no I
would like to send some clean-up patches.

- Fernando


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

end of thread, other threads:[~2008-08-16  7:13 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1218014196.4419.44.camel@sebastian.kern.oss.ntt.co.jp>
2008-08-06 20:33 ` request->ioprio Rusty Russell
2008-08-13  7:06   ` request->ioprio Fernando Luis Vázquez Cao
2008-08-13  8:14     ` [PATCH] virtio_blk: use a wrapper function to access io context information of IO requests Fernando Luis Vázquez Cao
2008-08-14  4:42       ` Rusty Russell
2008-08-14  5:17         ` Fernando Luis Vázquez Cao
2008-08-14  5:22           ` Fernando Luis Vázquez Cao
2008-08-14  7:58             ` Jens Axboe
2008-08-14  2:16     ` request->ioprio Rusty Russell
2008-08-14  4:26       ` request->ioprio Fernando Luis Vázquez Cao
2008-08-15  5:51       ` request->ioprio Fernando Luis Vázquez Cao
2008-08-16  7:13         ` request->ioprio Rusty Russell
2008-08-06  9:32 request->ioprio Fernando Luis Vázquez Cao
2008-08-06 17:22 ` request->ioprio Divyesh Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox