public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] random improvements and cleanups for elevator.c
@ 2022-11-29 15:46 Jinlong Chen
  2022-11-29 15:46 ` [PATCH v2 1/5] elevator: print none at first in elv_iosched_show even if the queue has a scheduler Jinlong Chen
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jinlong Chen @ 2022-11-29 15:46 UTC (permalink / raw)
  To: axboe; +Cc: hch, linux-block, linux-kernel, nickyc975

The series slightly improves the readability of elevator.c.

Changes in v2:
  - add patch 3 to further improve the readability (suggested by Christoph)
  - add Reviewed-by tags from Christoph

Jinlong Chen (5):
  elevator: print none at first in elv_iosched_show even if the queue
    has a scheduler
  elevator: replace continue with else-if in elv_iosched_show
  elevator: print e->elevator_name instead of cur->elevator_name in
    elv_iosched_show
  elevator: repalce "len+name" with "name+len" in elv_iosched_show
  elevator: use bool instead of int as the return type of
    elv_iosched_allow_bio_merge

 block/elevator.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-11-29 17:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-29 15:46 [PATCH v2 0/5] random improvements and cleanups for elevator.c Jinlong Chen
2022-11-29 15:46 ` [PATCH v2 1/5] elevator: print none at first in elv_iosched_show even if the queue has a scheduler Jinlong Chen
2022-11-29 15:46 ` [PATCH v2 2/5] elevator: replace continue with else-if in elv_iosched_show Jinlong Chen
2022-11-29 15:46 ` [PATCH v2 3/5] elevator: print e->elevator_name instead of cur->elevator_name " Jinlong Chen
2022-11-29 15:46 ` [PATCH v2 4/5] elevator: repalce "len+name" with "name+len" " Jinlong Chen
2022-11-29 15:46 ` [PATCH v2 5/5] elevator: use bool instead of int as the return type of elv_iosched_allow_bio_merge Jinlong Chen
2022-11-29 17:53 ` [PATCH v2 0/5] random improvements and cleanups for elevator.c Jens Axboe
2022-11-29 17:54 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox