Skip to content

fio error handling fixes

Ammar Faizi fio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8cgroup: Add ENOMEM handling on a `malloc()` callcgroup.c+4 -02 replies
2/8stat: Add ENOMEM handling on `malloc()` / `calloc()` callsstat.c+31 -90 replies
3/8engines/net: Add ENOMEM handling on a `malloc()` callengines/net.c+5 -41 reply
4/8blktrace: Fix broken error handling in `merge_blktrace_iologs()`blktrace.c+45 -280 replies
5/8blktrace: Add ENOMEM handling when allocating @ipoblktrace.c+14 -10 replies
6/8blktrace: Add ENOMEM handling in `trace_add_open_close_event()` and its callersblktrace.c+26 -80 replies
7/8client: Add ENOMEM handling on `realloc()` callsclient.c+20 -40 replies
8/8client: Add ENOMEM handling on `malloc()`, `calloc()` and `strdup()` callsclient.c+89 -181 reply

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchVincent FuAlviro Iskandar Setiawan
1/8R-b R-b
2/8
3/8R-b
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH v1 0/8] fio error handling fixes

From: Ammar Faizi <[email protected]>

Hi Jens,

This series contains patches that were dropped from my previous thread:

https://lore.kernel.org/fio/[email protected]

Plus, I have more patches in this series. This series contains error handling fixes, mostly about ENOMEM. There are 8 patches in this series. All of them are ENOMEM handling stuff except that patch #4 has extra fixes and a bit of refactoring.

Please review, thanks!

---

Ammar Faizi (8):
cgroup: Add ENOMEM handling on a malloc() call
stat: Add ENOMEM handling on malloc() / calloc() calls engines/net: Add ENOMEM handling on a malloc() call
blktrace: Fix broken error handling in merge_blktrace_iologs()
blktrace: Add ENOMEM handling when allocating @ipo
blktrace: Add ENOMEM handling in trace_add_open_close_event() and its callers
client: Add ENOMEM handling on realloc() calls
client: Add ENOMEM handling on malloc(), calloc() and strdup() calls

 blktrace.c    | 116 +++++++++++++++++++++++++++++++-------------
 cgroup.c      |   4 ++
 client.c      | 131 +++++++++++++++++++++++++++++++++++++++++---------
 engines/net.c |   9 ++--
 stat.c        |  40 +++++++++++----
 5 files changed, 231 insertions(+), 69 deletions(-)

base-commit: 5f2d43188c2d65674aaba6280e2a87107e5d7099

Signature · 1 line
Ammar Faizi