hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I918VT
----------------------------------------------------------------------
structure size reserves reserved
jbd2_inode 64 2 80 jbd2_journal_handle 56 1 64 transaction_chp_stats_s 24 2 40 transaction_s 208 4(+2) 256 journal_s 1488 6 1536 jbd2_buffer_trigger_type 16 2 32
Signed-off-by: Baokun Li libaokun1@huawei.com --- V1->V2: Add KABI reservation for jbd2_inode/jbd2_journal_handle/journal_s/jbd2_buffer_trigger_type
include/linux/jbd2.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+)
diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index 52772c826c86..ec93843fb602 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -443,6 +443,9 @@ struct jbd2_inode { * ends. [j_list_lock] */ loff_t i_dirty_end; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
struct jbd2_revoke_table_s; @@ -501,6 +504,8 @@ struct jbd2_journal_handle unsigned int h_requested_credits;
unsigned int saved_alloc_context; + + KABI_RESERVE(1) };
@@ -512,6 +517,9 @@ struct transaction_chp_stats_s { __u32 cs_forced_to_close; __u32 cs_written; __u32 cs_dropped; + + KABI_RESERVE(1) + KABI_RESERVE(2) };
/* The transaction_t type is the guts of the journaling mechanism. It @@ -706,6 +714,11 @@ struct transaction_s * structures associated with the transaction */ struct list_head t_private_list; + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) };
struct transaction_run_stats_s { @@ -1291,6 +1304,13 @@ struct journal_s * VFS bmap function. */ int (*j_bmap)(struct journal_s *journal, sector_t *block); + + KABI_RESERVE(1) + KABI_RESERVE(2) + KABI_RESERVE(3) + KABI_RESERVE(4) + KABI_RESERVE(5) + KABI_RESERVE(6) };
#define jbd2_might_wait_for_commit(j) \ @@ -1464,6 +1484,9 @@ struct jbd2_buffer_trigger_type { */ void (*t_abort)(struct jbd2_buffer_trigger_type *type, struct buffer_head *bh); + + KABI_RESERVE(1) + KABI_RESERVE(2) };
extern void jbd2_buffer_frozen_trigger(struct journal_head *jh,
反馈: 您发送到kernel@openeuler.org的补丁/补丁集,已成功转换为PR! PR链接地址: https://gitee.com/openeuler/kernel/pulls/4525 邮件列表地址:https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F...
FeedBack: The patch(es) which you have sent to kernel@openeuler.org mailing list has been converted to a pull request successfully! Pull request link: https://gitee.com/openeuler/kernel/pulls/4525 Mailing list address: https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/F...