Linux cgroups development
 help / color / mirror / Atom feed
* [RFC] distinguish foreground and background IOs in block throttle
@ 2017-12-25  2:44 xuejiufei
  2017-12-27 12:36 ` Paolo Valente
  0 siblings, 1 reply; 4+ messages in thread
From: xuejiufei @ 2017-12-25  2:44 UTC (permalink / raw)
  To: Tejun Heo, Jens Axboe, Shaohua Li; +Cc: linux-block, cgroups

Hi all,

Cgroup writeback is supported since v4.2. I found there exists a
problem in the following case.

A cgroup may send both buffer and direct/sync IOs. The foreground
thread will be stalled when periodic writeback IOs is flushed because
the service queue already has a plenty of writeback IOs, then
foreground IOs should be enqueued with its FIFO policy.

I wonder if we can distinguish foreground and background IOs in block
throttle to fix the above problem.

Any suggestion are always appreciated.


Thanks,
Jiufei

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

end of thread, other threads:[~2017-12-28  8:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-25  2:44 [RFC] distinguish foreground and background IOs in block throttle xuejiufei
2017-12-27 12:36 ` Paolo Valente
     [not found]   ` <A491ADB3-5487-4161-A526-E0C3AF416437-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-12-28  1:51     ` Joseph Qi
2017-12-28  8:48       ` Paolo Valente

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