[0/4] random improvements and cleanups for elevator.c

Message ID cover.1669391142.git.nickyc975@zju.edu.cn
Headers
Series random improvements and cleanups for elevator.c |

Message

Jinlong Chen Nov. 25, 2022, 3:53 p.m. UTC
  The series slightly improves the readability of elevator.c.

Jinlong Chen (4):
  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: 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 | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)