Re: [dm-devel] [RFC PATCH 0/4] Make prio timeouts work like checkers

2023-08-30 Thread Benjamin Marzinski
On Tue, Aug 29, 2023 at 08:34:39PM +, Martin Wilck wrote: > On Fri, 2023-07-28 at 14:05 -0500, Benjamin Marzinski wrote: > > This patchset changes how prioritizers set their timeouts, to make > > them > > match how the checker functions work, and also cleans up some minor > > timeout issues. I

[dm-devel] [PATCH -next] dm stats: Use list_for_each_entry() helper instead of list_for_each() and container_of()

2023-08-30 Thread Jinjie Ruan
Convert list_for_each() and container_of() to list_for_each_entry() so that the l list_head pointer and container_of() call are no longer needed, which can reduce a few lines of code. No functional changed. Signed-off-by: Jinjie Ruan --- drivers/md/dm-stats.c | 4 +--- 1 file changed, 1 insertio