hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8ZUL1
--------------------------------
Reserve space for struct elevator_mq_ops.
Signed-off-by: Li Lingfeng lilingfeng3@huawei.com --- block/elevator.h | 9 +++++++++ 1 file changed, 9 insertions(+)
diff --git a/block/elevator.h b/block/elevator.h index 7ca3d7b6ed82..611c6f7ca5a4 100644 --- a/block/elevator.h +++ b/block/elevator.h @@ -4,6 +4,7 @@
#include <linux/percpu.h> #include <linux/hashtable.h> +#include <linux/kabi.h> #include "blk-mq.h"
struct io_cq; @@ -48,6 +49,14 @@ struct elevator_mq_ops { struct request *(*next_request)(struct request_queue *, struct request *); void (*init_icq)(struct io_cq *); void (*exit_icq)(struct io_cq *); + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) + KABI_RESERVE(6) + KABI_RESERVE(7) + KABI_RESERVE(8) };
#define ELV_NAME_MAX (16)