Skip to content

throtl: fix IO block-size and race while submitting IO

Nilay Shroff linux-block 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Use $BASHPID to write the child sub-shell PID into cgroup.procs (Shinichiro Kawasaki)
- Link to v1: https://lore.kernel.org/all/[email protected]/

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2throtl/002: calculate block-size based on device max-sectors settingtests/throtl/002 tests/throtl/rc+14 -41 reply
2/2throtl: fix the race between submitting IO and setting cgroup.procstests/throtl/004 tests/throtl/005 tests/throtl/rc+6 -151 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchYu KuaiYi Zhang
1/2R-b T-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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/[email protected]/

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(-)
Signature · 1 line
2.45.2