Unverified Commit aab096cc authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!4494 v2 writeback: kabi: KABI reservation for writeback

parents 1afaf677 c7cb82ce
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -63,6 +63,9 @@ enum wb_reason {
struct wb_completion {
	atomic_t		cnt;
	wait_queue_head_t	*waitq;

	KABI_RESERVE(1)
	KABI_RESERVE(2)
};

#define __WB_COMPLETION_INIT(_waitq)	\
@@ -160,6 +163,13 @@ struct bdi_writeback {
		struct rcu_head rcu;
	};
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
	KABI_RESERVE(5)
	KABI_RESERVE(6)
};

struct backing_dev_info {
@@ -198,6 +208,11 @@ struct backing_dev_info {
#ifdef CONFIG_DEBUG_FS
	struct dentry *debug_dir;
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
	KABI_RESERVE(4)
};

struct wb_lock_cookie {
+4 −0
Original line number Diff line number Diff line
@@ -89,6 +89,10 @@ struct writeback_control {
	size_t wb_lcand_bytes;		/* bytes written by last candidate */
	size_t wb_tcand_bytes;		/* bytes written by this candidate */
#endif

	KABI_RESERVE(1)
	KABI_RESERVE(2)
	KABI_RESERVE(3)
};

static inline blk_opf_t wbc_to_write_flags(struct writeback_control *wbc)