Re: [PATCH 2/4] block: enumify ELEVATOR_*_MERGE

2017-02-15 Thread Sagi Grimberg
Looks good, Reviewed-by: Sagi Grimberg

[PATCH 2/4] block: enumify ELEVATOR_*_MERGE

2017-02-07 Thread Christoph Hellwig
Switch these constants to an enum, and make let the compiler ensure that all callers of blk_try_merge and elv_merge handle all potential values. Signed-off-by: Christoph Hellwig --- block/blk-core.c | 76 +--- block/blk-merge.c