All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 blktests 0/2] throtl: fix IO block-size and race while submitting IO
@ 2024-12-18 13:43 Nilay Shroff
  2024-12-18 13:43 ` [PATCHv2 blktests 1/2] throtl/002: calculate block-size based on device max-sectors setting Nilay Shroff
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nilay Shroff @ 2024-12-18 13:43 UTC (permalink / raw)
  To: linux-block; +Cc: yukuai3, shinichiro.kawasaki, yi.zhang, bvanassche, gjoyce

Hi,

The first patch fixes the IO block-size used for submitting IO depending
on the throttle device max-sectors settings.

The second patch fixes the potential race condition between submitting IO
and setting PID of the background IO process to cgroup.procs.

Changes from v1:
    - Use $BASHPID to write the child sub-shell PID into cgroup.procs
      (Shinichiro Kawasaki)
    - Link to v1: https://lore.kernel.org/all/20241217131440.1980151-1-nilay@linux.ibm.com/

Nilay Shroff (2):
  throtl/002: calculate block-size based on device max-sectors setting
  throtl: fix the race between submitting IO and setting cgroup.procs

 tests/throtl/002 | 14 ++++++++++----
 tests/throtl/004 |  7 ++-----
 tests/throtl/005 |  7 ++-----
 tests/throtl/rc  | 11 ++++++-----
 4 files changed, 20 insertions(+), 19 deletions(-)

-- 
2.45.2


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

end of thread, other threads:[~2025-01-17  0:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18 13:43 [PATCHv2 blktests 0/2] throtl: fix IO block-size and race while submitting IO Nilay Shroff
2024-12-18 13:43 ` [PATCHv2 blktests 1/2] throtl/002: calculate block-size based on device max-sectors setting Nilay Shroff
2024-12-26  7:30   ` Yi Zhang
2024-12-18 13:43 ` [PATCHv2 blktests 2/2] throtl: fix the race between submitting IO and setting cgroup.procs Nilay Shroff
2024-12-25  2:55   ` Yu Kuai
2024-12-24  8:26 ` [PATCHv2 blktests 0/2] throtl: fix IO block-size and race while submitting IO Shinichiro Kawasaki
2025-01-16 11:22   ` Nilay Shroff
2025-01-17  0:35     ` Shinichiro Kawasaki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.