mbox series

[blktests,0/2] throtl: fix IO block-size and race while submitting IO

Message ID 20241217131440.1980151-1-nilay@linux.ibm.com (mailing list archive)
Headers show
Series throtl: fix IO block-size and race while submitting IO | expand

Message

Nilay Shroff Dec. 17, 2024, 1:14 p.m. UTC
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.

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 |  8 +++++++-
 tests/throtl/005 |  9 ++++++++-
 tests/throtl/rc  | 13 ++++++++++++-
 4 files changed, 37 insertions(+), 7 deletions(-)